nigerian-mobile-validator
Version:
The most rigorous, up-to-date library for validating Nigerian mobile numbers. Fully NCC-compliant, and security-focused, with enterprise-grade features to prevent the business risks of validation failures in regulated industries.
13 lines (12 loc) • 373 B
JavaScript
// src/number-validation/validation-triggering-flags.ts
/**
* Internal flags that help determine when enough digits have been entered
* to trigger validation of the user provided input.
*/
export class ValidationTriggeringFlags {
constructor() {
this.previousUserInput = '';
this.hasPreviouslyErrored = false;
this.validated = false;
}
}