clamp Macro to clamp a value between two other values Installation $ clib install littlstar/clamp --save Usage int value = 5; value = clamp(value 0, 4); assert(4 == value); License MIT