Function

AppStream-1.0AppStreamutils_is_tldSince 0.9.8

  • Searches the known list of TLDs we allow for AppStream IDs. This excludes internationalized names.

    Parameters

    • tld: string

      a top-level domain without dot, e.g. "de", "org", "name"

    Returns boolean

    true if the TLD is valid

    0.9.8