CmpStr - v3.2.1
    Preparing search index...

    Function resolveCls

    • Resolve a class constructor from a specific registry.

      Type Parameters

      Parameters

      • reg: string

        The name of the registry

      • cls: string | T

        The class itself or name of the class to resolve

      Returns T

      • The class constructor if found, otherwise undefined

      If the registry does not exist