qspec logo qspec logo

A physics toolbox for laser spectroscopy.

Static Badge Static Badge Static Badge

Static Badge Static Badge

© 2026 Patrick Müller. All rights reserved.

qspec. has_shape  (  a  )[source]

Check if a has the shape property and TypeGuard it.

Parameters:
aAny

The object to check.

Returns:
has_shapeTypeGuard[HasShape]

Whether a has the shape property.