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

Function isUndefined

apps/web/ui/MessageForm/index.tsx:54–56  ·  view source on GitHub ↗
(character: string | undefined)

Source from the content-addressed store, hash-verified

52}
53
54function isUndefined(character: string | undefined) {
55 return typeof character === 'undefined';
56}
57
58function isUsernameCharacter(character: string) {
59 return !!character && /[a-zA-Z0-9\.]/.test(character);

Callers 2

isMentionModeFunction · 0.85
getMentionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected