Array.withinlimits()

Array.withinlimits(LimitArray, IncludeEdges)

1. 1..100.withinlimits(2..3)

2 3

2. 543..1245.withinlimits(700..900)

700 701

See Also