MCPcopy Index your code
hub / github.com/mozilla/source-map / nullish

Function nullish

test/test-spec-tests.js:57–62  ·  view source on GitHub ↗
(nullOrString)

Source from the content-addressed store, hash-verified

55// The source-map library converts null sources to the "null" URL in its
56// sources list, so for equality checking we accept this as null.
57function nullish(nullOrString) {
58 if (nullOrString === "null") {
59 return null;
60 }
61 return nullOrString;
62}
63
64function mapLine(line) {
65 return line + 1;

Callers 1

testMappingActionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…