MCPcopy Create free account
hub / github.com/Effect-TS/effect / isNonEmpty

Function isNonEmpty

packages/effect/src/Schema.ts:8867–8869  ·  view source on GitHub ↗
(annotations?: Annotations.Filter)

Source from the content-addressed store, hash-verified

8865 * @since 4.0.0
8866 */
8867export function isNonEmpty(annotations?: Annotations.Filter) {
8868 return isMinLength(1, annotations)
8869}
8870
8871/**
8872 * Validates that a value has at most the specified length. Works with strings

Callers 1

Schema.tsFile · 0.70

Calls 1

isMinLengthFunction · 0.85

Tested by

no test coverage detected