@hyperjump/json-schema-formats
    Preparing search index...

    Function isAsciiIdn

    • The 'hostname' format since draft-07. Validates that a string represents an IDNA2008 internationalized domain name consiting of only A-labels and NR-LDH labels as defined by RFC 5890, section 2.3.2.1.

      NOTE: The 'hostname' format changed in draft-07. Use isHostname for draft-06 and earlier.

      Parameters

      • hostname: string

      Returns boolean