(obj: T)
| 30 | } |
| 31 | |
| 32 | export function deepClone<T>(obj: T): T { |
| 33 | return obj == null || typeof obj !== 'object' ? obj : structuredClone(obj); |
| 34 | } |
| 35 | |
| 36 | export function factorOf<T>(items: T[], filterFn: (i: T) => boolean): number { |
| 37 | const itemCount = items.length; |
no outgoing calls
no test coverage detected