Flexible Rules
Home Publications Examples Downloads API Overview API Doc Tutorials

haskey?

Synopsis:

(hasKey? dict key)

Description:

Returns non nil if the dictionary dict contains the key key, otherwise returns nil.

Example:

(haskey?   {"a" : 1 , "b" : 2 , "c" : 3 } "g") --->  nil 
(haskey? {"a": 56 ,"b" : 2, "c": 3} "a")  ---> 1 


Contact: Fulvio Frapolli (fulvio . frapolli //at// unifr . ch), Amos Brocco (amos . brocco //at// unifr . ch)
* Remove spaces and replace //at// with @
© 2009