- Preparing search index...
- The search index is not available
helikon
Function filterObjectArray
- filterObjectArray<T>(objectArray: T[], condition: Record<string, any> | ((item: T) => boolean)): T[]
-
Type Parameters
-
T extends Record<string, any>
Parameters
-
objectArray: T[]
-
condition: Record<string, any> | ((item: T) => boolean)
Returns T[]
Filter the target object in the object array
Since
vx.x.x
Returns
result
Example