Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DataArcTech/ToG
/ check_end_word
Function
check_end_word
ToG/wiki_func.py:41–43 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
39
40
41
def
check_end_word(s):
42
words = [
" ID"
,
" code"
,
" number"
,
"instance of"
,
"website"
,
"URL"
,
"inception"
,
"image"
,
" rate"
,
" count"
]
43
return
any(s.endswith(word)
for
word in words)
44
45
46
def
abandon_rels(relation):
Callers
1
abandon_rels
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected