MCPcopy Index your code
hub / github.com/tinyplex/tinybase / size

Function size

src/common/other.ts:121–122  ·  view source on GitHub ↗
(arrayOrString: string | readonly any[])

Source from the content-addressed store, hash-verified

119): ArrayOrString => arrayOrString.slice(start, end) as ArrayOrString;
120
121export const size = (arrayOrString: string | readonly any[]): number =>
122 arrayOrString.length;
123
124export const test = (regex: RegExp, subject: string): boolean =>
125 regex.test(subject);

Callers 15

selectFunction · 0.90
getListenerStatsFunction · 0.90
clearCheckpointIdsFunction · 0.90
trimBackwardsIdsFunction · 0.90
unwrapSchemaFunction · 0.90
unwrapSchemaFunction · 0.90
unwrapSchemaWithDefaultsFunction · 0.90
validateMergeableContentFunction · 0.90
getChangesFromYDocFunction · 0.90
deconstructKeyFunction · 0.90
deconstructFunction · 0.90
visitTreeFunction · 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…