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 boolean
arrayContains
(Object[] arr, Object element) Returnstrue
if the givenarr
contains the givenelement
.static boolean
arrayContainsAll
(Object[] arr, Object... elements) Returnstrue
if the givenarr
contains all the givenelements
.static boolean
arrayContainsAny
(Object[] arr, Object... elements) Returnstrue
if the givenarr
contains one of the givenelements
.static boolean
arrayContainsNone
(Object[] arr, Object... elements) Returnstrue
if the givenarr
contains none of the givenelements
.
-
Method Details
-
arrayContains
Returnstrue
if the givenarr
contains the givenelement
.Always returns
false
if the givenarr
isnull
. -
arrayContainsAll
Returnstrue
if the givenarr
contains all the givenelements
.Always returns
false
if the givenarr
isnull
. -
arrayContainsAny
Returnstrue
if the givenarr
contains one of the givenelements
.Always returns
false
if the givenarr
isnull
. -
arrayContainsNone
Returnstrue
if the givenarr
contains none of the givenelements
.Always returns
false
if the givenarr
isnull
.
-