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

Interface NullOr

packages/effect/src/Schema.ts:5119–5121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5117 * @since 3.10.0
5118 */
5119export interface NullOr<S extends Constraint> extends Union<readonly [S, Null]> {
5120 readonly "Rebuild": NullOr<S>
5121}
5122interface NullOrLambda extends Lambda {
5123 <S extends Constraint>(self: S): NullOr<S>
5124 readonly "~lambda.out": this["~lambda.in"] extends Constraint ? NullOr<this["~lambda.in"]> : never

Callers 2

OptionFromNullOrFunction · 0.85
OptionFromOptionalNullOrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected