MCPcopy
hub / github.com/ts-essentials/ts-essentials / isExact

Function isExact

lib/functions/is-exact/index.ts:4–6  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2
3export const isExact =
4 <ExpectedShape>() =>
5 <ActualShape>(x: IsExact<ActualShape, ExpectedShape>) =>
6 x as ExpectedShape;

Callers 7

testArrayFunction · 0.85
testObjectsFunction · 0.85
testObjectUnionTypeFunction · 0.85
testPrimitiveUnionTypeFunction · 0.85
testEnumsFunction · 0.85

Calls

no outgoing calls

Tested by 6

testArrayFunction · 0.68
testObjectsFunction · 0.68
testObjectUnionTypeFunction · 0.68
testPrimitiveUnionTypeFunction · 0.68
testEnumsFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…