public class ValueQ extends AbstractCoreFunctionEvaluator implements java.util.function.Predicate<IExpr>
True, if the given expression is bound to a value.| Modifier and Type | Field and Description |
|---|---|
static ValueQ |
CONST
Constructor for the unary predicate
|
| Constructor and Description |
|---|
ValueQ() |
| Modifier and Type | Method and Description |
|---|---|
IExpr |
evaluate(IAST ast,
EvalEngine engine)
Returns
True if the 1st argument is an atomic object;
False otherwise |
boolean |
test(IExpr expr) |
numericEval, setUppublic static final ValueQ CONST
public IExpr evaluate(IAST ast, EvalEngine engine)
True if the 1st argument is an atomic object;
False otherwiseevaluate in interface IFunctionEvaluatorevaluate in class AbstractCoreFunctionEvaluatorast - the abstract syntax tree (AST) which should be evaluatedengine - the users current evaluation enginenull, if evaluation isn't possibleValidate,
IExpr.head(),
IAST.arg1(),
IAST.arg2(),
IAST.arg3()