MCPcopy Index your code
hub / github.com/csev/py4e / isAfter

Function isAfter

code/gmane/Chart.bundle.js:3439–3449  ·  view source on GitHub ↗
(input, units)

Source from the content-addressed store, hash-verified

3437 }
3438
3439 function isAfter (input, units) {
3440 var inputMs;
3441 units = normalizeUnits(typeof units !== 'undefined' ? units : 'millisecond');
3442 if (units === 'millisecond') {
3443 input = isMoment(input) ? input : local__createLocal(input);
3444 return +this > +input;
3445 } else {
3446 inputMs = isMoment(input) ? +input : +local__createLocal(input);
3447 return inputMs < +this.clone().startOf(units);
3448 }
3449 }
3450
3451 function isBefore (input, units) {
3452 var inputMs;

Callers

nothing calls this directly

Calls 4

normalizeUnitsFunction · 0.85
isMomentFunction · 0.85
local__createLocalFunction · 0.85
cloneMethod · 0.45

Tested by

no test coverage detected