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

Function validateBegin

velocity.js:596–603  ·  view source on GitHub ↗

* Validate a begin option.

(value)

Source from the content-addressed store, hash-verified

594 * Validate a <code>begin</code> option.
595 */
596 function validateBegin(value) {
597 if (isFunction(value)) {
598 return value;
599 }
600 if (value != null) {
601 console.warn("VelocityJS: Trying to set 'begin' to an invalid value:", value);
602 }
603 }
604 /**
605 * Validate a <code>complete</code> option.
606 */

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…