( annotations?: Annotations.Filter<Schema.Type<S>> )
| 4656 | * @since 3.10.0 |
| 4657 | */ |
| 4658 | export const nonEmptyString = <S extends Schema.Any>( |
| 4659 | annotations?: Annotations.Filter<Schema.Type<S>> |
| 4660 | ): <A extends string>(self: S & Schema<A, Schema.Encoded<S>, Schema.Context<S>>) => filter<S> => |
| 4661 | minLength(1, { |
| 4662 | title: "nonEmptyString", |
| 4663 | description: "a non empty string", |
| 4664 | ...annotations |
| 4665 | }) |
| 4666 | |
| 4667 | /** |
| 4668 | * This schema converts a string to lowercase. |
no test coverage detected