Method
pick
(...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
Tested by
no test coverage detected