MCPcopy Create free account
hub / github.com/ampproject/amphtml / getTestTemplate

Function getTestTemplate

third_party/inputmask/inputmask.js:829–831  ·  view source on GitHub ↗
(pos, ndxIntlzr, tstPs)

Source from the content-addressed store, hash-verified

827 return bestMatch;
828 }
829 function getTestTemplate(pos, ndxIntlzr, tstPs) {
830 return getMaskSet().validPositions[pos] || determineTestTemplate(pos, getTests(pos, ndxIntlzr ? ndxIntlzr.slice() : ndxIntlzr, tstPs));
831 }
832 function getTest(pos, tests) {
833 if (getMaskSet().validPositions[pos]) {
834 return getMaskSet().validPositions[pos];

Callers 6

getMaskTemplateFunction · 0.85
isMaskFunction · 0.85
maskScopeFunction · 0.85
isCompleteFunction · 0.85
renderColorMaskFunction · 0.85

Calls 3

getMaskSetFunction · 0.85
determineTestTemplateFunction · 0.85
getTestsFunction · 0.85

Tested by

no test coverage detected