Package org.nuxeo.ecm.platform.el
Class Functions
- java.lang.Object
-
- org.nuxeo.ecm.platform.el.Functions
-
public class Functions extends Object
Helper functions injected in theExpressionContext
instance.- Since:
- 11.2
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
arrayContains
public static boolean arrayContains(Object[] arr, Object element)
Returnstrue
if the givenarr
contains the givenelement
.Always returns
false
if the givenarr
isnull
.
-
arrayContainsAll
public static boolean arrayContainsAll(Object[] arr, Object... elements)
Returnstrue
if the givenarr
contains all the givenelements
.Always returns
false
if the givenarr
isnull
.
-
arrayContainsAny
public static boolean arrayContainsAny(Object[] arr, Object... elements)
Returnstrue
if the givenarr
contains one of the givenelements
.Always returns
false
if the givenarr
isnull
.
-
arrayContainsNone
public static boolean arrayContainsNone(Object[] arr, Object... elements)
Returnstrue
if the givenarr
contains none of the givenelements
.Always returns
false
if the givenarr
isnull
.
-
-