Skip to content

API Reference


API Reference / @dasch-ng/validators / notBlankValidator

Variable: notBlankValidator ​

const notBlankValidator: ValidatorFn

Defined in: not-blank/not-blank.validator.ts:8

Fails with { blank: true } when a string value is empty or only whitespace. Unlike Validators.required, ' ' does not pass. Non-string values pass.

Released under the MIT License.