Checks that the value is a number.

number("hello"); // Error: type
number(1); // passes