fold
The fold object mirrors an input value back into a specified low and high range. It acts like a mirroring function, ensuring that any value outside the defined boundaries is "folded" back into the range. This is useful for constraining values within a specific interval while preserving their relative position through reflection.
AI Generated
This content was generated with the assistance of AI. If you notice any errors, please report them or submit a fix using Submit. Check the prompt used here.