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

Method __nonzero__

functional/pipeline.py:124–130  ·  view source on GitHub ↗

Returns True if size is not zero. :return: True if size is not zero

(self)

Source from the content-addressed store, hash-verified

122 return self.size() != 0
123
124 def __nonzero__(self):
125 """
126 Returns True if size is not zero.
127
128 :return: True if size is not zero
129 """
130 return self.size() != 0
131
132 def __getitem__(self, item):
133 """

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.95

Tested by

no test coverage detected