MCPcopy
hub / github.com/sindresorhus/ky / isObjectWithValue

Function isObjectWithValue

test/main.ts:31–35  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

29});
30
31const isObjectWithValue = (value: unknown): value is {value: unknown} => (
32 typeof value === 'object'
33 && value !== null
34 && 'value' in value
35);
36
37const createSchemaCallTracker = () => {
38 let isSchemaCalled = false;

Callers 2

main.tsFile · 0.85
validateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…