flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
7
VISUALIZACION/node_modules/polished/lib/internalHelpers/_guard.js.flow
generated
vendored
Executable file
7
VISUALIZACION/node_modules/polished/lib/internalHelpers/_guard.js.flow
generated
vendored
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
// @flow
|
||||
|
||||
function guard(lowerBoundary: number, upperBoundary: number, value: number): number {
|
||||
return Math.max(lowerBoundary, Math.min(upperBoundary, value))
|
||||
}
|
||||
|
||||
export default guard
|
||||
Loading…
Add table
Add a link
Reference in a new issue