Operators

is precisely a

Supported By

Syntax

expression is precisely a type

Description

The is precisely a operator evaluates to true if the given value's data type is the given type. If the given value's data type is not the given type, the is precisely a operator evaluates to false. This is a stricter requirement than the one for the is an operator: the value must be compatible with the given type without requiring conversion (from a number to a string, for example).

Synonyms

are precisely, is precisely an

See Also

is a, is not a, is not precisely a, as a