Predefined function reference

map_contains

A reference entry for map_contains

Predefined function · maps

map_contains (map a, mixed element) ⇒ boolean

Returns a boolean true or false if the map, a, contains the key, k.

Alternative function names: associative_array_contains

Notes

Version 1.4.2 dropped the alternative name assoc_contains and added the map_contains alternative name.

Version 1.9.9 switched from associative_array_contains to map_contains.