> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wherobots.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ST_HasM (Python)

> Check whether geometry has M coordinate

Check whether geometry has M coordinate

SQL reference: [`ST_HasM`](/reference/wherobots-db/geometry-data/accessors/ST_HasM)

## Signature

```python theme={"system"}
from sedona.spark.sql.st_functions import ST_HasM

ST_HasM(geom: ColumnOrName) -> Column
```

## Parameters

<ParamField path="geom" type="ColumnOrName" required>
  Geometry
</ParamField>

## Returns

<ResponseField name="return" type="Column">
  True if geometry has M coordinate, else False
</ResponseField>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.