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

Method pick

packages/effect/src/Schema.ts:2897–2899  ·  view source on GitHub ↗
(...keys: Array<keyof Fields>)

Source from the content-addressed store, hash-verified

2895 }
2896
2897 static pick(...keys: Array<keyof Fields>): Struct<Simplify<Pick<Fields, typeof keys[number]>>> {
2898 return Struct(struct_.pick(fields, ...keys) as any)
2899 }
2900
2901 static omit(...keys: Array<keyof Fields>): Struct<Simplify<Omit<Fields, typeof keys[number]>>> {
2902 return Struct(struct_.omit(fields, ...keys) as any)

Callers

nothing calls this directly

Calls 2

StructFunction · 0.70
pickMethod · 0.65

Tested by

no test coverage detected