Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ any
Function
any
recipes/Python/578918_Yet_Another_NamedTuple/recipe-578918.py:21–25 ·
view source on GitHub ↗
(iterable)
Source
from the content-addressed store, hash-verified
19
return
True
20
21
def
any(iterable):
22
for
element in iterable:
23
if
element:
24
return
True
25
return
False
26
27
28
def
_check_name(name):
Callers
15
__getitem__
Method · 0.50
primes
Function · 0.50
allPrimes
Function · 0.50
__getitem__
Method · 0.50
__init__
Method · 0.50
rec_node
Function · 0.50
__contains__
Method · 0.50
rec_node
Function · 0.50
atomic_write
Function · 0.50
depends_on_unbuilt
Function · 0.50
insertEnd
Method · 0.50
gen_filepaths
Function · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected