MCPcopy Index your code
hub / github.com/Linen-dev/linen.dev / isLetter

Function isLetter

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

Source from the content-addressed store, hash-verified

57};
58
59function isLetter(character: string): boolean {
60 return character.toLowerCase() !== character.toUpperCase();
61}
62
63export function getLetter(text: string): string {
64 const character = text.trim().slice(0, 1).toLowerCase();

Callers 1

getLetterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected