MCPcopy Create free account
hub / github.com/csev/py4e / duration_get__get

Function duration_get__get

code/gmane/Chart.bundle.js:4568–4571  ·  view source on GitHub ↗
(units)

Source from the content-addressed store, hash-verified

4566 var asYears = makeAs('y');
4567
4568 function duration_get__get (units) {
4569 units = normalizeUnits(units);
4570 return this[units + 's']();
4571 }
4572
4573 function makeGetter(name) {
4574 return function () {

Callers

nothing calls this directly

Calls 1

normalizeUnitsFunction · 0.85

Tested by

no test coverage detected