@tsdotnet/type - v1.2.7
    Preparing search index...

    Function as

    • Returns null if the target does not match the type (instanceof). Otherwise returns the target as the type.

      Type Parameters

      • T

      Parameters

      • instance: object
      • type: new (...params: any[]) => T

      Returns null | T