MCPcopy
hub / github.com/shipshapecode/shepherd / isString

Function isString

shepherd.js/src/utils/type-check.ts:29–31  ·  view source on GitHub ↗
(value: T | string)

Source from the content-addressed store, hash-verified

27 * @param value The param to check if it is a string
28 */
29export function isString<T>(value: T | string): value is string {
30 return typeof value === 'string';
31}
32
33/**
34 * Checks if `value` is undefined.

Callers 4

showMethod · 0.90
createShepherdElementFunction · 0.90
normalizePrefixFunction · 0.90
parseAttachToFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected