MCPcopy Index your code
hub / github.com/Effect-TS/effect / Struct

Function Struct

packages/effect/src/Schema.ts:2941–2946  ·  view source on GitHub ↗
(
  fields: Fields,
  ...records: Records
)

Source from the content-addressed store, hash-verified

2939): TypeLiteral<Fields, Records>
2940export function Struct<Fields extends Struct.Fields>(fields: Fields): Struct<Fields>
2941export function Struct<Fields extends Struct.Fields, const Records extends IndexSignature.Records>(
2942 fields: Fields,
2943 ...records: Records
2944): TypeLiteral<Fields, Records> {
2945 return makeTypeLiteralClass(fields, records)
2946}
2947
2948/**
2949 * @category api interface

Callers 8

pickMethod · 0.70
omitMethod · 0.70
TaggedStructFunction · 0.70
Schema.tsFile · 0.70
optionSomeEncodedFunction · 0.70
rightEncodedFunction · 0.70
leftEncodedFunction · 0.70
TaggedRequestClassClass · 0.70

Calls 1

makeTypeLiteralClassFunction · 0.85

Tested by

no test coverage detected