function isZeitWorld(ns) {
  if (!ns.length) {
    return false;
  }
  return ns.every(host => host.endsWith('.zeit.world'));
}
function isZeitWorld(ns) {
  if (!ns.length) {
    return false;
  }
  return ns.every(host => host.endsWith('.zeit.world'));
}
function isZeitWorld ( ns ) { if ( ! ns . length ) { return false ; } return ns . every ( host => host . endsWith ( '.zeit.world' ) ) ; }
Given an array of nameservers (ie: as returned
by `resolveNs` from Node, assert that they're
zeit.world's.
Given an array of nameservers ( ie : as returned by resolveNs from Node assert that they re zeit . world s .
Check if the network is a zeit world