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

Function Struct

packages/effect/src/Schema.ts:3568–3570  ·  view source on GitHub ↗
(fields: Fields)

Source from the content-addressed store, hash-verified

3566 * @since 3.10.0
3567 */
3568export function Struct<const Fields extends Struct.Fields>(fields: Fields): Struct<Fields> {
3569 return makeStruct(SchemaAST.struct(fields, undefined), fields)
3570}
3571
3572interface fieldsAssign<NewFields extends Struct.Fields> extends Lambda {
3573 <Fields extends Struct.Fields>(

Callers 9

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

Calls 1

makeStructFunction · 0.85

Tested by

no test coverage detected