Skip to content

API Reference


API Reference / @dasch-ng/validators / integerValidator

Variable: integerValidator ​

const integerValidator: ValidatorFn

Defined in: number/integer-float.validator.ts:9

Fails with { invalidInteger: true } unless the value is an integer (number or numeric string). Empty values pass.

Released under the MIT License.