Function sort_domains_by_extension

  • Used to sort a list of domain names by their domain extension - putting best ones higher in list.


    • sorted array


    • domains: string[]

      {Array} - list of domains - each string must contain at least one period "."

    • extensions: string[]

      {array} - list of extensions (domain extensions) to sort by. Best = first. Worst = last.

    Returns string[]

Generated using TypeDoc