Class Functions

java.lang.Object
org.nuxeo.ecm.platform.el.Functions

public class Functions extends Object
Helper functions injected in the ExpressionContext instance.
Since:
11.2
  • Method Details

    • arrayContains

      public static boolean arrayContains(Object[] arr, Object element)
      Returns true if the given arr contains the given element.

      Always returns false if the given arr is null.

    • arrayContainsAll

      public static boolean arrayContainsAll(Object[] arr, Object... elements)
      Returns true if the given arr contains all the given elements.

      Always returns false if the given arr is null.

    • arrayContainsAny

      public static boolean arrayContainsAny(Object[] arr, Object... elements)
      Returns true if the given arr contains one of the given elements.

      Always returns false if the given arr is null.

    • arrayContainsNone

      public static boolean arrayContainsNone(Object[] arr, Object... elements)
      Returns true if the given arr contains none of the given elements.

      Always returns false if the given arr is null.