isBooleantsfunction isBoolean(val): val is boolean Returns true if the specified value is a boolean. Parameters ParameterTypeDescriptionvalunknownVariable to test. Returns val is boolean Whether variable is boolean.