(target: Map<number | string, V>, p: string | symbol, newValue: any)
| 38 | } |
| 39 | |
| 40 | set(target: Map<number | string, V>, p: string | symbol, newValue: any): boolean { |
| 41 | if (typeof p === "symbol") return false |
| 42 | |
| 43 | const int = parseInt(p, 10) |
| 44 | target.set(!isNaN(int) ? int : p, newValue) |
| 45 | return true |
| 46 | } |
| 47 | |
| 48 | deleteProperty(target: Map<number | string, V>, p: string | symbol): boolean { |
| 49 | return target.delete(p as number | string) |
no outgoing calls
no test coverage detected