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

Function normalizeUnits

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

Source from the content-addressed store, hash-verified

632 }
633
634 function normalizeUnits(units) {
635 return typeof units === 'string'
636 ? aliases[units] || aliases[units.toLowerCase()]
637 : undefined;
638 }
639
640 function normalizeObjectUnits(inputObject) {
641 var normalizedInput = {},

Callers 11

normalizeObjectUnitsFunction · 0.85
stringGetFunction · 0.85
stringSetFunction · 0.85
isAfterFunction · 0.85
isBeforeFunction · 0.85
isSameFunction · 0.85
diffFunction · 0.85
startOfFunction · 0.85
endOfFunction · 0.85
asFunction · 0.85
get$2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected