MCPcopy Create free account
hub / github.com/EntilZha/PyFunctional / is_tabulatable

Function is_tabulatable

functional/util.py:89–94  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

87
88
89def is_tabulatable(val):
90 if is_primitive(val):
91 return False
92 if is_iterable(val) or is_namedtuple(val) or isinstance(val, list):
93 return True
94 return False
95
96
97def split_every(parts, iterable):

Callers 1

tabulateMethod · 0.90

Calls 3

is_primitiveFunction · 0.85
is_iterableFunction · 0.85
is_namedtupleFunction · 0.85

Tested by

no test coverage detected