Commonly <sup>Typescript</sup>
===

[Go back](./readme.md)

`Numbers` module
---
`commonly.typescript/numbers`

---

- ### `clamp`

clamp a numeric value.

```typescript
function clamp(value: number, min: number, max: number): number;
```

#### Usage:

```typescript
clamp(84, 0, 1) == 1;
```
