bundles / astropy 7.0.1 / astropy / utils / shapes / ShapedLikeNDArray / __bool__
function
astropy.utils.shapes:ShapedLikeNDArray.__bool__
source: /astropy/utils/shapes.py :239
Signature
def __bool__ ( self ) → bool Summary
Any instance should evaluate to True, except when it is empty.
Aliases
-
astropy.utils.ShapedLikeNDArray.__bool__