MCPcopy Create free account
hub / github.com/Lemoncode/fonk / safeObjectKeys

Function safeObjectKeys

src/helpers/helpers.ts:28–29  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

26 value instanceof Promise;
27
28export const safeObjectKeys = (value): string[] =>
29 Boolean(value) ? Object.keys(value) : [];
30
31export const reduceAsync = <Entity, Result>(
32 collection: Entity[],

Callers 3

helpers.spec.tsFile · 0.90
validateRecordFunction · 0.90
validateFormFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…