MCPcopy 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
21def charat(key, idx):
22 if idx >= len(key):
23 return u'\0'
24 else:
25 return key[idx]
26
27def is_prime(n):
28 if n <= 1:

Callers 2

find_best_indicesFunction · 0.85
keyhashFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected