Mirror of JS ``!!block && typeof block === 'object'`` (arrays included).
(block: Any)
| 207 | |
| 208 | |
| 209 | def _is_obj(block: Any) -> bool: |
| 210 | """Mirror of JS ``!!block && typeof block === 'object'`` (arrays included).""" |
| 211 | return block is not None and not isinstance(block, (str, bytes, bool, int, float)) |
| 212 | |
| 213 | |
| 214 | def _btype(block: Any) -> Any: |
no outgoing calls
no test coverage detected