MCPcopy Create free account
hub / github.com/dailydotdev/apps / isText

Function isText

packages/shared/src/features/feedWidgets/config.ts:16–17  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

14 typeof value === 'object' && value !== null && !Array.isArray(value);
15
16const isText: FieldCheck = (value) =>
17 typeof value === 'string' && value.length >= 1 && value.length <= MAX_TEXT;
18
19const isOneOf =
20 (options: readonly string[]): FieldCheck =>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected