MCPcopy
hub / github.com/pydata/xarray / _contains_callable

Function _contains_callable

xarray/core/accessor_str.py:106–108  ·  view source on GitHub ↗

Determine if the object is a callable or array of callables.

(pat: Any)

Source from the content-addressed store, hash-verified

104
105
106def _contains_callable(pat: Any) -> bool:
107 """Determine if the object is a callable or array of callables."""
108 return _contains_obj_type(pat=pat, checker=callable)
109
110
111def _apply_str_ufunc(

Callers 1

replaceMethod · 0.85

Calls 1

_contains_obj_typeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…