---
title: clampRadians
status: published
category: primitives
group: Function
author: api
date: 06/23/2023
order: 7
---<Small>Public Function</Small>

Clamp radians within 0 and 2PI


##### Parameters


<ParametersTable>

<ParametersTableRow>
<ParametersTableName>

`r`

</ParametersTableName>
<ParametersTableDescription>

```ts
number
```

The radian value.




</ParametersTableDescription>
</ParametersTableRow>
</ParametersTable>

##### Returns


```ts
number
```

