MCPcopy Create free account
hub / github.com/axe-api/axe-api / hasStringValue

Method hasStringValue

packages/axe-api/src/Model.ts:479–490  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

477 }
478
479 private hasStringValue() {
480 const tester: Record<string, any> = this.validations;
481 let status = false;
482
483 for (const key of Object.keys(tester)) {
484 if (typeof tester[key] === "string") {
485 status = true;
486 }
487 }
488
489 return status;
490 }
491}
492
493export default Model;

Callers 1

getValidationRulesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected