Package org.nuxeo.ecm.platform.el
Class Functions
java.lang.Object
org.nuxeo.ecm.platform.el.Functions
Helper functions injected in the
ExpressionContext instance.- Since:
- 11.2
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanarrayContains(Object[] arr, Object element) Returnstrueif the givenarrcontains the givenelement.static booleanarrayContainsAll(Object[] arr, Object... elements) Returnstrueif the givenarrcontains all the givenelements.static booleanarrayContainsAny(Object[] arr, Object... elements) Returnstrueif the givenarrcontains one of the givenelements.static booleanarrayContainsNone(Object[] arr, Object... elements) Returnstrueif the givenarrcontains none of the givenelements.
-
Method Details
-
arrayContains
Returnstrueif the givenarrcontains the givenelement.Always returns
falseif the givenarrisnull. -
arrayContainsAll
Returnstrueif the givenarrcontains all the givenelements.Always returns
falseif the givenarrisnull. -
arrayContainsAny
Returnstrueif the givenarrcontains one of the givenelements.Always returns
falseif the givenarrisnull. -
arrayContainsNone
Returnstrueif the givenarrcontains none of the givenelements.Always returns
falseif the givenarrisnull.
-