Common

Common built-in validators for multiple data types

Required

Ensures a value is present, treating it as required. For strings, it optionally allows empty values based on the allowEmptyStrings parameter.

NotEmpty

Ensures the value is not empty. Can be applied to strings or collections.

Last updated