Checks if value is equal to the provided value.

const isNull = value(null);

isNull(""); // Error: value
isNull(null); // passes