public class IsEmpty
extends org.nfunk.jep.function.PostfixMathCommand
Strings that can be parsed as JSON objects or JSON arrays, will be first converted into JSON, then its structure will be evaluated for emptiness. For example, the following strings will be evaluated as empty objects:
"" (an empty string)"{}" (an empty JSON object)"[]" (an empty JSON array)| Constructor and Description |
|---|
IsEmpty()
Builds this custom command with a fixed number of 1 parameter
|
| Modifier and Type | Method and Description |
|---|---|
void |
run(Stack stack) |
public IsEmpty()
public void run(Stack stack) throws org.nfunk.jep.ParseException
run in interface org.nfunk.jep.function.PostfixMathCommandIrun in class org.nfunk.jep.function.PostfixMathCommandorg.nfunk.jep.ParseExceptionComparative.run(java.util.Stack)Copyright © 2021. All rights reserved.