uim-core ~master (2021-10-23T12:07:43Z)
Dub
Repo
transform
uim
core
datatypes
integral
transform value minOld/maxOld to newMin/newMax
@
safe
T
transform
(
T
)
(
T
value
,
T
minOld
,
T
maxOld
,
T
newMin
,
T
newMax
)
if
(
isIntegral
!
T
)
in (newMin < newMax, "newMin should not be equl or greater then newMax")
Meta
Source
See Implementation
uim
core
datatypes
integral
functions
isGreater
isLess
limits
toString
transform
transform value minOld/maxOld to newMin/newMax