MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / isWhitespace

Function isWhitespace

packages/utilities/src/string.ts:29–31  ·  view source on GitHub ↗
(character: string)

Source from the content-addressed store, hash-verified

27};
28
29export function isWhitespace(character: string) {
30 return /\s/.test(character);
31}
32
33export function normalize(str?: string | null) {
34 if (!str) return '';

Callers 2

isMentionModeFunction · 0.90
getMentionFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected