typeof-article

Get the native JavaScript type of a value, preceded by the appropriate indefinite article (either `a` or `an`), for use in error messages.

indefinite

Prefix a noun with an indefinite article - a or an - based on whether it begins with a vowel