MCPcopy
hub / github.com/Effect-TS/effect / UndefinedOr

Function UndefinedOr

packages/effect/src/Schema.ts:1334–1334  ·  view source on GitHub ↗
(self: S)

Source from the content-addressed store, hash-verified

1332 * @since 3.10.0
1333 */
1334export const UndefinedOr = <S extends Schema.All>(self: S): UndefinedOr<S> => Union(self, Undefined)
1335
1336/**
1337 * @category api interface

Callers 3

optionalFunction · 0.70
OptionFromUndefinedOrFunction · 0.70

Calls 1

UnionFunction · 0.70

Tested by

no test coverage detected