(target: Map<number | string, V>, p: string | symbol)
| 18 | } |
| 19 | |
| 20 | has(target: Map<number | string, V>, p: string | symbol): boolean { |
| 21 | if (typeof p === "symbol") return false |
| 22 | |
| 23 | const int = parseInt(p, 10) |
| 24 | return target.has(!isNaN(int) ? int : p) |
| 25 | } |
| 26 | |
| 27 | ownKeys(target: Map<number | string, V>): ArrayLike<string | symbol> { |
| 28 | return [...target.keys()].map(String) |
no outgoing calls
no test coverage detected