MCPcopy Create free account
hub / github.com/effect-app/libs / Struct

Function Struct

repos/effect/packages/effect/src/Schema.ts:3397–3399  ·  view source on GitHub ↗
(fields: Fields)

Source from the content-addressed store, hash-verified

3395 *
3396 * Schema.decodeUnknownSync(Person)({ name: "Alice", age: 30 }) // => { name: "Alice", age: 30 }
3397 * ```
3398 *
3399 * @category constructors
3400 * @since 3.10.0
3401 */
3402export function Struct<const Fields extends Struct.Fields>(fields: Fields): Struct<Fields> {

Callers 9

encodeKeysFunction · 0.70
extendToFunction · 0.70
TaggedStructFunction · 0.70
OptionFunction · 0.70
ResultFunction · 0.70
CauseReasonFunction · 0.70
ExitFunction · 0.70
Schema.tsFile · 0.70
extendMethod · 0.70

Calls 1

makeStructFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…