MCPcopy Index your code
hub / github.com/pydata/xarray / list_equiv

Function list_equiv

xarray/core/utils.py:276–279  ·  view source on GitHub ↗
(first: Sequence[T], second: Sequence[T])

Source from the content-addressed store, hash-verified

274
275
276def list_equiv(first: Sequence[T], second: Sequence[T]) -> bool:
277 if len(first) != len(second):
278 return False
279 return all(itertools.starmap(equivalent, zip(first, second, strict=True)))
280
281
282def peek_at(iterable: Iterable[T]) -> tuple[T, Iterator[T]]:

Callers 1

equivalentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…