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_getitem  (  a  )[source]

Check if a implements __getitem__ so that a[i] can be used and TypeGuard it.

Parameters:
aAny

The object to check.

Returns:
has_getitemTypeGuard[qspec.qtypes.HasGetItem]

if a implements __getitem__.

API navigation