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

Interface optional

packages/effect/src/Schema.ts:2434–2436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2432 * @since 3.10.0
2433 */
2434export interface optional<S extends Constraint> extends optionalKey<UndefinedOr<S>> {
2435 readonly "Rebuild": optional<S>
2436}
2437interface optionalLambda extends Lambda {
2438 <S extends Constraint>(self: S): optional<S>
2439 readonly "~lambda.out": this["~lambda.in"] extends Constraint ? optional<this["~lambda.in"]> : never

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