edgeport - v1.0.6
    Preparing search index...

    Function recordTypeName

    • Returns the string name of a record TYPE (e.g. 1 -> "A"), or the number as text if unknown.

      Parameters

      • type: number

        The numeric TYPE.

      Returns string

      The type name or the decimal string for an unrecognized TYPE.

      1.0.4

      import { recordTypeName } from 'edgeport/dns';

      recordTypeName(28); // 'AAAA'