public class VariableIsEmptyExpressionFunction extends AbstractFlowableVariableExpressionFunction
String: following StringUtils.isEmpty(CharSequence) semantics
- Collection: if the collection has no elements
- ArrayNode: if the json array has no elements.
When the variable value is null, true is returned in all cases.
When the variable value is not null, and the instance type is not one of the cases above, false will be returned.functionName, functionNamesOptions, method, variableScopeName| Constructor and Description |
|---|
VariableIsEmptyExpressionFunction() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isEmpty(VariableContainer variableContainer,
String variableName) |
createFunction, createVariableNameNode, findMethod, functionMethod, getFunctionNames, getVariableValue, localName, localNames, prefix, prefixes, valuesAreNumberspublic static boolean isEmpty(VariableContainer variableContainer, String variableName)
Copyright © 2021 Flowable. All rights reserved.