Node TAP
    Preparing search index...

    Variable type

    type: (
        obj: any,
        klass: string | Function,
        ...__namedParameters: MessageExtra,
    ) => boolean

    Type Declaration

      • (
            obj: any,
            klass: string | Function,
            ...__namedParameters: MessageExtra,
        ): boolean
      • Verify that the value is of the type specified Type can be either a string, or a constructor.

        If a string, then it can match either the typeof result or 'null' for null values, or the name property of the object's constructor.

        Parameters

        • obj: any
        • klass: string | Function
        • ...__namedParameters: MessageExtra

        Returns boolean