ish.io.punycode

Punycode mixin for ish.js

Source:
Author:
  • Nick Campbell (wrapper); https://stackoverflow.com/users/36866/some
License:
  • Public Domain

Methods

[mixin] ish.io.punycode.is(x) → {boolean}

Source:
Determines if the passed value represents ASCII Punycode data.
From Mixin: ish.io.punycode.js must be included for ishJS to access this functionality.
Parameters:
Name Type Description
x string Value representing the ASCII Punycode data to decode into a unicode string.
Returns:
Type Description
boolean Value representing if the passed value represents ASCII Punycode data.

[mixin] ish.io.punycode.parse(x) → {string}

Source:
See:
Parses the passed value into a unicode string that represents the Punycode data.
From Mixin: ish.io.punycode.js must be included for ishJS to access this functionality.
Parameters:
Name Type Description
x string Value representing the ASCII Punycode data to decode into a unicode string.
Returns:
Type Description
string Value representing the unicode data.

[mixin] ish.io.punycode.stringify(x) → {string}

Source:
See:
Converts the passed value into ASCII Punycode data.
From Mixin: ish.io.punycode.js must be included for ishJS to access this functionality.
Parameters:
Name Type Description
x string Value representing the unicode string to encode into ASCII Punycode data.
Returns:
Type Description
string Value representing the ASCII data.