@x-oasis/is-clamped
Advanced tools
Comparing version 0.0.12 to 0.0.13
{ | ||
"name": "@x-oasis/is-clamped", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"description": "clamped function", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
export default function isClamped(min: number, value: number, max: number) { | ||
if (value >= min && value <= max) return true; | ||
return false; | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
3360
46