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

Function isString

src/common/other.ts:103–104  ·  view source on GitHub ↗
(thing: unknown)

Source from the content-addressed store, hash-verified

101): type is 'string' | 'boolean' => type == STRING || type == BOOLEAN;
102
103export const isString = (thing: unknown): thing is string =>
104 getTypeOf(thing) == STRING;
105
106export const isNumber = (thing: unknown): thing is number =>
107 getTypeOf(thing) == NUMBER;

Callers 15

useThingFunction · 0.90
useThingOrThingByIdFunction · 0.90
useThingFunction · 0.90
useThingOrThingByIdFunction · 0.90
getCellsFunction · 0.90
unwrapSchemaFunction · 0.90
unwrapSchemaFunction · 0.90
useCellsFunction · 0.90
index.tsFile · 0.90
constructFunction · 0.90
getDefaultedConfigFunction · 0.90

Calls 1

getTypeOfFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…