filterBy

Function

Filter an array by a deep property value

  • filterBy(arr: [], prop: string, val: unknown) : []

Parameters

Parameter Type Default Notes
arr Required []
prop Required string
val Required unknown

Returns

{T[]}

[]

Function defined in common/src/util.ts:326