MCPcopy Create free account
hub / github.com/csaez/mscreen / _isIterable

Function _isIterable

mscreen.py:681–687  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

679
680# === Utility functions ===
681def _isIterable(obj):
682 try:
683 for _ in obj:
684 break
685 return True
686 except TypeError:
687 return False
688
689
690def linearInterpolate(t, p0, p1):

Callers 2

linearInterpolateFunction · 0.85
bezierInterpolateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected