MCPcopy
hub / github.com/julianshapiro/velocity / validateComplete

Function validateComplete

velocity.js:607–614  ·  view source on GitHub ↗

* Validate a complete option.

(value, noError)

Source from the content-addressed store, hash-verified

605 * Validate a <code>complete</code> option.
606 */
607 function validateComplete(value, noError) {
608 if (isFunction(value)) {
609 return value;
610 }
611 if (value != null && !noError) {
612 console.warn("VelocityJS: Trying to set 'complete' to an invalid value:", value);
613 }
614 }
615 /**
616 * Validate a <code>delay</code> option.
617 */

Callers 3

velocity.jsFile · 0.70
optionFunction · 0.70
Velocity$1Function · 0.70

Calls 1

isFunctionFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…