withoutByProp

Function

Returns a new array with all the entries have the given value at the given prop location removed.

  • withoutByProp(prop: string, val: any, arr: any[]) : any[]

Parameters

Parameter Type Default Notes
prop Required string

the property

val Required any

the value

arr Required any[]

the array

Returns

any[]

Function defined in packages/common/src/utils/without-by-prop.ts:9