Class BooleanFunction

  • All Implemented Interfaces:
    Function, Serializable

    public class BooleanFunction
    extends FunctionBase
    implements Function
    From http://docs.jsonata.org/boolean-functions.html $boolean(arg) Casts the argument to a Boolean using the following rules: Boolean: unchanged string: empty false string: non-empty true number: 0 false number: non-zero true null: false array: empty false array: contains a member that casts to true true array: all members cast to false false object: empty false object: non-empty true function: (functions are not currently supported) false
    See Also:
    Serialized Form