- qspec.has_shape ( a )[source]
Check if
ahas theshapeproperty andTypeGuardit.- Parameters:
-
- aAny
The object to check.
- Returns:
-
- has_shapeTypeGuard[qspec.qtypes.HasShape]
if
ahas theshapeproperty.
Check if a has the shape property and TypeGuard it.
The object to check.
if a has the shape property.