(obj: any)
| 113 | } |
| 114 | |
| 115 | export function copyOf(obj: any): any { |
| 116 | if (obj === null || obj === undefined) { |
| 117 | return obj; |
| 118 | } |
| 119 | return JSON.parse(JSON.stringify(obj)); |
| 120 | } |
| 121 | |
| 122 | export function deduplicateArray<T>( |
| 123 | array: T[], |
no outgoing calls
no test coverage detected