# getReceivedTemperatureCompliance

> Whether the sample arrived at the lab cold enough: laboratory.receivedtemperature ≤ maxC (default 6 °C). undefined when no receipt temperature is recorded.

> **getReceivedTemperatureCompliance**(`sample`, `maxC?`): `boolean` \| `undefined`

Whether the sample arrived at the lab cold enough:
`laboratory.received_temperature ≤ maxC` (default 6 °C). `undefined` when
no receipt temperature is recorded.

## Parameters

### sample

`WaterSample`

### maxC?

`number` = `6`

## Returns

`boolean` \| `undefined`
