Variable ReflexionsConst

Reflexions: {
    helper: {
        listStaticAttributesAs: (<T>(classType, filter?) => T[]);
    };
} = ...

Type declaration

  • helper: {
        listStaticAttributesAs: (<T>(classType, filter?) => T[]);
    }

    Reflexion helper methods.

    • listStaticAttributesAs: (<T>(classType, filter?) => T[])

      Lists all static attributes of a given class.

      Param: classType

      The type of the class.

      Param: filter

      A predicate used to filter out unwanted methods or attributes.

      Returns

      an array of result values.

        • <T>(classType, filter?): T[]
        • Lists all static attributes of a given class.

          Type Parameters

          • T

          Parameters

          • classType: unknown

            The type of the class.

          • Optional filter: ((name) => boolean)

            A predicate used to filter out unwanted methods or attributes.

              • (name): boolean
              • Parameters

                • name: string

                Returns boolean

          Returns T[]

          an array of result values.

Generated using TypeDoc