MCPcopy Create free account
hub / github.com/GNOME/gjs / assertNaN

Function assertNaN

modules/script/jsUnit.js:150–154  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

148}
149
150function assertNaN() {
151 _validateArguments(1, arguments);
152 var aVar=nonCommentArg(1, 1, arguments);
153 _assert(commentArg(1, arguments), isNaN(aVar), 'Expected NaN');
154}
155
156function assertNotNaN() {
157 _validateArguments(1, arguments);

Callers

nothing calls this directly

Calls 4

_validateArgumentsFunction · 0.85
nonCommentArgFunction · 0.85
_assertFunction · 0.85
commentArgFunction · 0.85

Tested by

no test coverage detected