MCPcopy
hub / github.com/tdewolff/minify / addTimeToArrayFromToken

Function addTimeToArrayFromToken

_benchmarks/sample_moment.js:847–851  ·  view source on GitHub ↗
(token, input, config)

Source from the content-addressed store, hash-verified

845 }
846
847 function addTimeToArrayFromToken(token, input, config) {
848 if (input != null && hasOwnProp(tokens, token)) {
849 tokens[token](input, config._a, config, token);
850 }
851 }
852
853 function isLeapYear(year) {
854 return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0;

Callers 1

Calls 1

hasOwnPropFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…