0.0.1Creates a new validation object.
Object:
A validation object with no rules.
Create a test to determine if a property is greater than a specified value.
(Number)
Value against which the prop will be evaluated.
Function:
A test function that takes a property.
Test whether a property is Boolean.
(any)
Property to be validated.
Boolean:
true
if the property is
Boolean
,
false
otherwise.
Test whether a property is false.
(any)
Property to be validated.
Boolean:
true
if the property is
false
,
false
otherwise.
Test whether a property is a function.
(any)
Property to be validated.
Boolean:
true
if the property is a
function
,
false
otherwise.
Test whether a property is null.
(any)
Property to be validated.
Boolean:
true
if the property is
null
,
false
otherwise.
Test whether a property is a Number.
(any)
Property to be validated.
Boolean:
true
if the property is a
Number
,
false
otherwise.
Test whether a property is a String.
(any)
Property to be validated.
Boolean:
true
if the property is a
String
,
false
otherwise.
Test whether a property is Symbol.
(any)
Property to be validated.
Boolean:
true
if the property is a
Symbol
,
false
otherwise.
Test whether a property is true.
(any)
Property to be validated.
Boolean:
true
if the property is
true
,
false
otherwise.
Test whether a property is undefined.
(any)
Property to be validated.
Boolean:
true
if the property is
undefined
,
false
otherwise.