(annotations?: Annotations.Filter<Schema.Type<S>>)
| 4525 | */ |
| 4526 | export const lowercased = |
| 4527 | <S extends Schema.Any>(annotations?: Annotations.Filter<Schema.Type<S>>) => |
| 4528 | <A extends string>(self: S & Schema<A, Schema.Encoded<S>, Schema.Context<S>>): filter<S> => |
| 4529 | self.pipe( |
| 4530 | filter((a) => a === a.toLowerCase(), { |
| 4531 | schemaId: LowercasedSchemaId, |
| 4532 | title: "lowercased", |
| 4533 | description: "a lowercase string", |
| 4534 | jsonSchema: { pattern: "^[^A-Z]*$" }, |
| 4535 | ...annotations |
| 4536 | }) |
| 4537 | ) |
| 4538 | |
| 4539 | /** |
| 4540 | * @category string constructors |
no test coverage detected