To use this website fully, you first need to accept the use of cookies. By agreeing to the use of cookies you consent to the use of functional cookies. For more information read this page.

Official ZPE/YASS documentationmap_contains

map_contains (map a, mixed element) ⇒ boolean

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

Alternative function names: associative_array_contains
First available: Version 1.3.4


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.


There are no comments on this page.

New comment
Code previewClose
Feedback 👍
Comments are sent via email to me.