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

Function isTypeStringOrBoolean

src/common/other.ts:99–101  ·  view source on GitHub ↗
(
  type: string,
)

Source from the content-addressed store, hash-verified

97export const ifNotUndefined = getIfNotFunction(isUndefined);
98
99export const isTypeStringOrBoolean = (
100 type: string,
101): type is 'string' | 'boolean' => type == STRING || type == BOOLEAN;
102
103export const isString = (thing: unknown): thing is string =>
104 getTypeOf(thing) == STRING;

Callers 2

getCellOrValueTypeFunction · 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…