Preparing search index...
The search index is not available
@juulsgaard/ts-tools
@juulsgaard/ts-tools
iterateObj
Function iterateObj
iterate
Obj
<
TItem
>
(
obj
,
callback
)
:
void
Iterate an object and trigger the callback for each element
Type Parameters
TItem
Parameters
obj
:
Record
<
string
,
TItem
>
Target object
callback
:
(
(
x
:
TItem
,
key
:
string
,
index
:
number
)
=>
void
)
(
x
,
key
,
index
)
:
void
Parameters
x
:
TItem
key
:
string
index
:
number
Returns
void
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@juulsgaard/ts-tools
Loading...
Iterate an object and trigger the callback for each element