MCPcopy Create free account
hub / github.com/OpenDriveLab/OpenLane / _isArrayLike

Function _isArrayLike

eval/CIPO_evaluation/adapter.py:43–44  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

41 from urllib.request import urlretrieve
42
43def _isArrayLike(obj):
44 return hasattr(obj, '__iter__') and hasattr(obj, '__len__')
45
46
47class adapter:

Callers 2

loadAnnsMethod · 0.85
getAnnIdsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected