MCPcopy
hub / github.com/thedaviddelta/lingva-translate / isKeyOf

Function isKeyOf

mocks/renewData.ts:31–31  ·  view source on GitHub ↗
(obj: T, key: keyof any)

Source from the content-addressed store, hash-verified

29};
30
31const isKeyOf = <T extends object>(obj: T, key: keyof any): key is keyof T => key in obj;
32
33const arg = process.argv[2];
34

Callers 1

renewData.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected