Add supporting themes required for Lotusdocs
This commit is contained in:
1 parent
8a4d04db58
commit
f8d40c4e41
1289 files changed
+234948
No files matched your search
@@ -0,0 +1,8 @@
|
||||
import { max as mathMax, min as mathMin } from "./math.js";
|
||||
export function within(min, value, max) {
|
||||
return mathMax(min, mathMin(value, max));
|
||||
}
|
||||
export function withinMaxClamp(min, value, max) {
|
||||
var v = within(min, value, max);
|
||||
return v > max ? max : v;
|
||||
}
|
||||
Reference in new issue
Block a user