MCPcopy Index your code
hub / github.com/nodejs/node / checkAAAA

Function checkAAAA

test/internet/test-dns-any.js:29–33  ·  view source on GitHub ↗
(r)

Source from the content-addressed store, hash-verified

27 assert.strictEqual(r.type, 'A');
28 },
29 checkAAAA(r) {
30 assert.ok(isIPv6(r.address));
31 assert.strictEqual(typeof r.ttl, 'number');
32 assert.strictEqual(r.type, 'AAAA');
33 },
34 checkCNAME(r) {
35 assert.ok(r.value);
36 assert.strictEqual(typeof r.value, 'string');

Callers

nothing calls this directly

Calls 2

isIPv6Function · 0.85
okMethod · 0.45

Tested by

no test coverage detected