typeofEquals<T>#
Perform JavaScript typeof operator on the given object and determine if
the result is equal to the given type. Exposes the whole typeof
equal
expression to maximize browser optimization.