Returns true if assertion passes and false if it throws.
Assertion to be checked.
Value to be passed into assertion.
is(number, 1); // trueis(number, "nope"); // false Copy
is(number, 1); // trueis(number, "nope"); // false
Returns true if assertion passes and false if it throws.