Skip to content

API Reference


API Reference / @dasch-ng/validators / floatValidator

Variable: floatValidator ​

const floatValidator: ValidatorFn

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

Fails with { invalidFloat: true } unless the value is a finite number (number or numeric string). Empty values pass.

Released under the MIT License.