mirror of
https://github.com/dzeiocom/libs.git
synced 2025-07-29 16:29:52 +00:00
Updated tests and documentation to be more clear
Signed-off-by: Avior <github@avior.me>
This commit is contained in:
@ -20,7 +20,7 @@ export function objectMap<T = any, J = any>(
|
||||
/**
|
||||
* Loop through the object
|
||||
* @param obj the object to loop through
|
||||
* @param fn the function to run for each childs
|
||||
* @param fn the function to run for each childs if the function return `false` it will stop
|
||||
*/
|
||||
export function objectLoop<T = any>(
|
||||
obj: Record<string, T>,
|
||||
|
Reference in New Issue
Block a user