Return true if the given object is implicitly convertible to ndarray, and numpy is already imported.
(obj: object)
| 722 | |
| 723 | |
| 724 | def _is_numpy_array(obj: object) -> bool: |
| 725 | """ |
| 726 | Return true if the given object is implicitly convertible to ndarray, |
| 727 | and numpy is already imported. |
| 728 | """ |
| 729 | return _as_numpy_array(obj) is not None |
| 730 | |
| 731 | |
| 732 | def _as_numpy_array(obj: object) -> Optional["ndarray"]: |
no test coverage detected