IsA
Returns true
if the given object is of the specified type, false
otherwise.
- Use the
is
operator to check ifobj
is of the given type,T
.
Returns true
if the given object is of the specified type, false
otherwise.
is
operator to check if obj
is of the given type, T
.