code: function ip6addrParse(input) {
    if (typeof (input) === 'string') {
      return parseString(input);
    } else if (typeof (input) === 'number') {
      return parseLong(input);
    } else if (typeof (input) === 'object' && _isAddr(input)) {
      return input;
    } else {
      throw new Error('Invalid argument: only string|number allowed');
    }
  }
docs: /--- Public Functions