MCPcopy
hub / github.com/bigskysoftware/htmx / matchAnyToken

Function matchAnyToken

www/static/test/lib/_hyperscript.js:268–276  ·  view source on GitHub ↗

* @param {string} op1 * @param {string} [op2] * @param {string} [op3] * @returns {Token | void}

(op1, op2, op3)

Source from the content-addressed store, hash-verified

266 * @returns {Token | void}
267 */
268 function matchAnyToken(op1, op2, op3) {
269 for (var i = 0; i < arguments.length; i++) {
270 var opToken = arguments[i];
271 var match = matchToken(opToken);
272 if (match) {
273 return match;
274 }
275 }
276 }
277
278 /**
279 * @param {string} value

Callers

nothing calls this directly

Calls 1

matchTokenFunction · 0.70

Tested by

no test coverage detected