limits

limits the value on the min or max

@safe
T
limits
(
T
)
if (
isIntegral!T
)
in (minLimit < maxLimit, "minLimit should not be equal or greater then maxLimit")

Meta