focusedArray
Focus on a specific elements in an array via their
Parameters description
Parameter | Type | Description | Default |
---|---|---|---|
array | table[] | The array to focus in | --- |
focus | table<string, any> | the key and value that can be found in the elements you want to focus | --- |
cb | fun(i: integer, curr: any)? | the callback function, triggered when match is found in the elements | --- |
Example
Last updated