Module kcore::utils[][src]

Expand description

Simple util funtions.

Functions

intersect

Check if two ranges are intersect with each other.

round_down

Round down to the nearest multiple of n.

round_up

Round up to the nearest multiple of n.