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

Method size

functional/pipeline.py:613–619  ·  view source on GitHub ↗

Return size of sequence using its length function. :return: size of sequence

(self)

Source from the content-addressed store, hash-verified

611 return len(self._base_sequence)
612
613 def size(self):
614 """
615 Return size of sequence using its length function.
616
617 :return: size of sequence
618 """
619 return self.len()
620
621 def empty(self):
622 """

Callers 8

__bool__Method · 0.95
__nonzero__Method · 0.95
emptyMethod · 0.95
non_emptyMethod · 0.95
productMethod · 0.95
averageMethod · 0.95
test_lenMethod · 0.80
test_distinctMethod · 0.80

Calls 1

lenMethod · 0.95

Tested by 2

test_lenMethod · 0.64
test_distinctMethod · 0.64