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

Interface optional

packages/effect/src/Schema.ts:2460–2462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2458 * @since 3.10.0
2459 */
2460export interface optional<S extends Constraint> extends optionalKey<UndefinedOr<S>> {
2461 readonly "Rebuild": optional<S>
2462}
2463
2464interface optionalLambda extends Lambda {
2465 <S extends Constraint>(self: S): optional<S>

Callers 5

withDecodingDefaultFunction · 0.70
withDecodingDefaultTypeFunction · 0.70
Schema.tsFile · 0.70
OptionFromOptionalFunction · 0.70
OptionFromOptionalNullOrFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected