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

Function isUndefinedOrNull

src/helpers/helpers.ts:20–20  ·  view source on GitHub ↗
(v: any)

Source from the content-addressed store, hash-verified

18 index === safeArrayLength(array) - 1;
19
20export const isUndefinedOrNull = (v: any) => v === void 0 || v === null;
21
22export const areAllElementsInArrayDefined = <T>(collection: T[]) =>
23 arrayContainsEntries(collection) && collection.every((element) => element);

Callers 4

helpers.spec.tsFile · 0.90
checkValidationResultFunction · 0.90
checkValidationResultFunction · 0.90
isFieldIdInSchemaFunction · 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…