sindresorhus

math-clamp

Clamp a number

by sindresorhus

JavaScript

JavaScript82.1%
TypeScript17.9%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
71
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template
Richienb

This means that: I think it should be the other way round.

Richienb · 11mo ago
Richienb
`BigInt` supportClosedIssue

Seperate functions, or type checks in a single function? I think seperate functions to be more explicit and so that we don't run as much code in each call.

Richienb · 1y ago
Richienb

It was already implicitly supported, here we test and document it. Fixes #18

Richienb · 1y ago
Structured data for AI agents

Repository: sindresorhus/math-clamp. Description: Clamp a number Stars: 17, Forks: 4. Primary language: JavaScript. Languages: JavaScript (82.1%), TypeScript (17.9%). License: MIT. Latest release: v2.2.1 (2y ago). Open PRs: 0, open issues: 0. Last activity: 1y ago. Community health: 71%. Top contributors: sindresorhus, Richienb, sultaniman, alebelcor.