import { AbstractControl , ValidatorFn } from "@angular/forms" ; /**
 * Container for custom Angular Validator functions.
 */ export const CustomNumberValidators = { /**
     * Angular Validator to verify value is a valid number.
     */ isNumber : ( control ) => { const val = Number ( control . value ) ; if ( Number . isNaN ( Number ( val ) ) ) { return { isNumber : "invalid" } ; } else { return null ; } } , } ;