Class IsType

  • All Implemented Interfaces:
    PostfixMathCommandI, java.io.Serializable

    public class IsType
    extends UnaryFunction
    Tests if a value is an instance of a specified type. The result is true if the argument is an instance of the specified type, false otherwise. For example
    jep.addFunction("isNumber",new IsType(Number.class));
    Author:
    Richard Morris
    See Also:
    Serialized Form
    • Constructor Detail

      • IsType

        public IsType​(java.lang.Class<?> classType)
        Parameters:
        classType - the class to test with