uim-core ~master (2021-10-23T12:07:43Z)
Dub
Repo
limits
uim
core
datatypes
integral
limits the value on the min or max
@
safe
T
limits
(
T
)
(
T
value
,
T
minLimit
,
T
maxLimit
)
if
(
isIntegral
!
T
)
in (minLimit < maxLimit, "minLimit should not be equal or greater then maxLimit")
Meta
Source
See Implementation
uim
core
datatypes
integral
functions
isGreater
isLess
limits
toString
transform
limits the value on the min or max