Class ExistUtilFunction
java.lang.Object
io.higson.runtime.builtin.implementation.UtilFunction
io.higson.runtime.builtin.implementation.ExistUtilFunction
- All Implemented Interfaces:
ContextualUtilFunction
ExistUtilFunction is a utility function that checks if a value exists in the given context.
It implements the ContextualUtilFunction interface and extends the UtilFunction abstract class.
-
Field Summary
FieldsFields inherited from class io.higson.runtime.builtin.implementation.UtilFunction
converter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncall(HigsonContext ctx, Object[] args) Checks if a value exists in the given context.Methods inherited from class io.higson.runtime.builtin.implementation.UtilFunction
createHigsonRuntimeException, createHigsonRuntimeException, isValid, toTemporalAmountMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.higson.runtime.builtin.implementation.ContextualUtilFunction
getContextPath
-
Field Details
-
CODE
- See Also:
-
INSTANCE
-
-
Constructor Details
-
ExistUtilFunction
public ExistUtilFunction()
-
-
Method Details
-
call
Checks if a value exists in the given context.- Specified by:
callin classUtilFunction- Parameters:
ctx- the HigsonContext object from which to retrieve the valueargs- an array of arguments, not used in this method- Returns:
- true if the value exists in the context, false otherwise
-