MCPcopy Index your code
hub / github.com/NetHack/NetHack / letter

Function letter

src/hacklib.c:68–72  ·  view source on GitHub ↗

is 'c' a letter? note: '@' classed as letter */

Source from the content-addressed store, hash-verified

66
67/* is 'c' a letter? note: '@' classed as letter */
68boolean
69letter(char c)
70{
71 return (boolean) ('@' <= c && c <= 'Z') || ('a' <= c && c <= 'z');
72}
73
74/* force 'c' into uppercase */
75char

Callers 9

optfn_scoresFunction · 0.85
illegal_menu_cmd_keyFunction · 0.85
temple_priest_soundFunction · 0.85
makepluralFunction · 0.85
doorganize_coreFunction · 0.85
shknameFunction · 0.85
is_izchakFunction · 0.85
upwordsFunction · 0.85
help_dirFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected