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

Function validateQueue

velocity.js:745–752  ·  view source on GitHub ↗

* Validate a queue option.

(value, noError)

Source from the content-addressed store, hash-verified

743 * Validate a <code>queue</code> option.
744 */
745 function validateQueue(value, noError) {
746 if (value === false || isString(value)) {
747 return value;
748 }
749 if (value != null && !noError) {
750 console.warn("VelocityJS: Trying to set 'queue' to an invalid value:", value);
751 }
752 }
753 /**
754 * Validate a <code>repeat</code> option.
755 */

Callers 6

velocity.jsFile · 0.70
finishFunction · 0.70
optionFunction · 0.70
pauseResumeFunction · 0.70
stopFunction · 0.70
Velocity$1Function · 0.70

Calls 1

isStringFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…