TypeOf Operator

Syntax

TypeOf expr Is objtype

Group

Operator

Description

Return the True if expr refers to an object of objtype.

Example


Sub Main
    Debug.Print TypeOf Err Is ErrObject ' True
End Sub

See also

Objects