MCPcopy Index your code
hub / github.com/feiyu563/PrometheusAlert / toInt

Function toInt

static/plugins/chart.js/Chart.bundle.js:14972–14981  ·  view source on GitHub ↗
(argumentForCoercion)

Source from the content-addressed store, hash-verified

14970 }
14971
14972 function toInt(argumentForCoercion) {
14973 var coercedNumber = +argumentForCoercion,
14974 value = 0;
14975
14976 if (coercedNumber !== 0 && isFinite(coercedNumber)) {
14977 value = absFloor(coercedNumber);
14978 }
14979
14980 return value;
14981 }
14982
14983 // compare two arrays, return the number of differences
14984 function compareArrays(array1, array2, dontConvert) {

Callers 9

compareArraysFunction · 0.85
addParseTokenFunction · 0.85
Chart.bundle.jsFile · 0.85
setMonthFunction · 0.85
isDurationValidFunction · 0.85
offsetFromStringFunction · 0.85
createDurationFunction · 0.85
parseMsFunction · 0.85
valueOf$1Function · 0.85

Calls 1

absFloorFunction · 0.85

Tested by

no test coverage detected