MCPcopy
hub / github.com/tinyplex/tinybase / hasValues

Function hasValues

src/persisters/common/database/config.ts:89–89  ·  view source on GitHub ↗
(config: any)

Source from the content-addressed store, hash-verified

87 isArray(config) ? (config as Ids) : undefined;
88
89const hasValues = (config: any): boolean => isTrue(config) || isArray(config);
90
91const getDefaultedConfig = (
92 configOrStoreTableName: DatabasePersisterConfig | string | undefined,

Callers 1

getConfigStructuresFunction · 0.70

Calls 2

isTrueFunction · 0.90
isArrayFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…