Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/9chu/LuaSTGPlus
/ charat
Function
charat
LuaSTGPlus/string2enum.py:21–25 ·
view source on GitHub ↗
(key, idx)
Source
from the content-addressed store, hash-verified
19
yield
[seq[i]] + result
20
21
def
charat(key, idx):
22
if
idx >= len(key):
23
return
u
'\0'
24
else
:
25
return
key[idx]
26
27
def
is_prime(n):
28
if
n <= 1:
Callers
2
find_best_indices
Function · 0.85
keyhash
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected