(arr: T[], el: T)
| 24 | export const extend: typeof Object.assign = Object.assign |
| 25 | |
| 26 | export const remove = <T>(arr: T[], el: T): void => { |
| 27 | const i = arr.indexOf(el) |
| 28 | if (i > -1) { |
| 29 | arr.splice(i, 1) |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | const hasOwnProperty = Object.prototype.hasOwnProperty |
| 34 | export const hasOwn = ( |
no test coverage detected