MCPcopy Create free account
hub / github.com/scottrogowski/code2flow / get$2

Function get$2

tests/test_code/js/moment/moment.js:5360–5363  ·  view source on GitHub ↗
(units)

Source from the content-addressed store, hash-verified

5358 }
5359
5360 function get$2(units) {
5361 units = normalizeUnits(units);
5362 return this.isValid() ? this[units + 's']() : NaN;
5363 }
5364
5365 function makeGetter(name) {
5366 return function () {

Callers

nothing calls this directly

Calls 1

normalizeUnitsFunction · 0.85

Tested by

no test coverage detected