MCPcopy
hub / github.com/feiyu563/PrometheusAlert / get

Function get

static/plugins/chart.js/Chart.bundle.js:15513–15516  ·  view source on GitHub ↗
(mom, unit)

Source from the content-addressed store, hash-verified

15511 }
15512
15513 function get (mom, unit) {
15514 return mom.isValid() ?
15515 mom._d['get' + (mom._isUTC ? 'UTC' : '') + unit]() : NaN;
15516 }
15517
15518 function set$1 (mom, unit, value) {
15519 if (mom.isValid() && !isNaN(value)) {

Callers 3

makeGetSetFunction · 0.70
getSetMonthFunction · 0.70
addSubtractFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected