Canboat ts-pgns
    Preparing search index...

    Function getEnumerationName

    • Retrieves the name of an enumeration value given the enumeration's name and the value.

      Parameters

      • enumName: string

        The name of the enumeration to search.

      • value: number

        The numeric value of the enumeration member.

      Returns undefined | string

      The name of the enumeration member if found; otherwise, undefined.