Function instanceOf

  • Creates the class instance shape.

    Type Parameters

    • Ctor extends (new (...args) => any)

      The instance constructor.

    Parameters

    • ctor: Ctor

      The instance constructor.

    • Optional options: IssueOptions | Message

      The issue options or the issue message.

    Returns InstanceShape<Ctor>