Verify that the value is of the type specified Type can be either a string, or a constructor.
If a string, then it can match either the typeof result or 'null' for null values, or the name property of the object's constructor.
typeof
null
name
Rest
Verify that the value is of the type specified Type can be either a string, or a constructor.
If a string, then it can match either the
typeof
result or 'null' fornull
values, or thename
property of the object's constructor.