Skip to content
beaugunderson edited this page Apr 1, 2011 · 2 revisions
var a = new v6.Address('a::b');

a.isValid(); // true

a.isCorrect(); // true
a.isCanonical(); // false

a.percent_string; // ''

a.parsed_address.join(':'); // 'a:0:0:0:0:0:0:b'

a.canonical_form(); // '000a:0000:0000:0000:0000:0000:0000:000b'

a.v4_form();

a.decimal();

a.bigInteger().toString(16);
a.bigInteger().toString();

a.zeroPad();

a.isTeredo(); // false
a.teredo();
Clone this wiki locally