Interface Function

    • Method Detail

      • getName

        String getName()
        Returns:
        the name of this function
      • eval

        Value eval​(EvalContext ctx,
                   Value... params)
        Evaluates this function within the given context with the given parameters.
        Returns:
        the result of the function evaluation
      • isPure

        boolean isPure()
        Returns:
        true if this function is a "pure" function, false otherwise. A pure function will always return the same result for a given set of parameters and has no side effects.