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

Interface optionalKey

packages/effect/src/Schema.ts:2382–2402  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2380 * @since 4.0.0
2381 */
2382export interface optionalKey<S extends Constraint> extends
2383 BottomLazy<
2384 S["ast"],
2385 optionalKey<S>,
2386 S["~type.parameters"],
2387 S["~type.mutability"],
2388 "optional",
2389 S["~type.constructor.default"],
2390 S["~encoded.mutability"],
2391 "optional"
2392 >
2393{
2394 readonly "Type": S["Type"]
2395 readonly "Encoded": S["Encoded"]
2396 readonly "DecodingServices": S["DecodingServices"]
2397 readonly "EncodingServices": S["EncodingServices"]
2398 readonly "~type.make.in": S["~type.make.in"]
2399 readonly "~type.make": S["~type.make"]
2400 readonly "Iso": S["Iso"]
2401 readonly schema: S
2402}
2403
2404interface optionalKeyLambda extends Lambda {
2405 <S extends Constraint>(self: S): optionalKey<S>

Callers 5

SchemaAST.tsFile · 0.85
withDecodingDefaultKeyFunction · 0.85
OptionFromOptionalKeyFunction · 0.85
Schema.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected