API Reference
clamp
Clamp a number between a minimum and maximum value.
Returns the clamped value.
debounce
Create a debounced version of a function that delays invocation until after ms milliseconds have elapsed since the last call.
Returns a debounced wrapper function.
groupBy
Group an array of items by a key derived from each item.
Returns an object mapping keys to arrays of items.