element_exists — Check whether an element set contains a specific element.

ElementSet-related functions

Summary

element_exists($elementSetName, $elementName)

Check whether an element set contains a specific element.

Parameters:
  • $elementSetName (string) – The element set name.

  • $elementName (string) – The element name.

Returns:

bool

Usage

Examples

See Also