Canboat ts-pgns
    Preparing search index...

    Function getFieldTypeEnumerationValue

    • Retrieves the numeric value associated with a specific enumeration field type value.

      Given an enumeration name and a value name, this function looks up the corresponding enumeration object and searches for the field type value by name. If found, it returns the associated numeric value; otherwise, it returns undefined.

      Parameters

      • enumName: string

        The name of the enumeration to search within.

      • value: string

        The name of the field type value to look up.

      Returns undefined | number

      The numeric value of the field type if found, or undefined if not found.