https://src.bluestatic.org
/
ustaxlib.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Simplify uses of ComputedLine to not type the |tr| argument.
[ustaxlib.git]
/
src
/
Math.ts
1
export function clampToZero(value: number): number {
2
return value < 0 ? 0 : value;
3
}