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

Function OptionFromSelf

packages/effect/src/Schema.ts:7195–7197  ·  view source on GitHub ↗
(value: Value)

Source from the content-addressed store, hash-verified

7193 * @since 3.10.0
7194 */
7195export const OptionFromSelf = <Value extends Schema.Any>(value: Value): OptionFromSelf<Value> => {
7196 return OptionFromSelf_(value).annotations({ description: `Option<${format(value)}>` })
7197}
7198
7199/**
7200 * @category api interface

Callers 6

headFunction · 0.70
OptionFunction · 0.70
OptionFromNullOrFunction · 0.70
OptionFromNullishOrFunction · 0.70
OptionFromUndefinedOrFunction · 0.70

Calls 3

OptionFromSelf_Function · 0.85
formatFunction · 0.70
annotationsMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…