MCPcopy 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
28def _check_name(name):

Callers 15

__getitem__Method · 0.50
primesFunction · 0.50
allPrimesFunction · 0.50
__getitem__Method · 0.50
__init__Method · 0.50
rec_nodeFunction · 0.50
__contains__Method · 0.50
rec_nodeFunction · 0.50
atomic_writeFunction · 0.50
depends_on_unbuiltFunction · 0.50
insertEndMethod · 0.50
gen_filepathsFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected