MCPcopy Create free account
hub / github.com/scottrogowski/code2flow / toJSON

Function toJSON

tests/test_code/js/moment/moment.js:4245–4248  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4243 }
4244
4245 function toJSON() {
4246 // new Date(NaN).toJSON() === null
4247 return this.isValid() ? this.toISOString() : null;
4248 }
4249
4250 function isValid$2() {
4251 return isValid(this);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected