(object: any)
| 1954 | } |
| 1955 | |
| 1956 | function debugClassName(object: any): string { |
| 1957 | const description = stringValue(object); |
| 1958 | const match = /^<([^:>]+)[:>]/.exec(description); |
| 1959 | return match?.[1] ?? ""; |
| 1960 | } |
| 1961 | |
| 1962 | function constructorName(object: any): string { |
| 1963 | return object?.constructor?.name ?? "Object"; |
no test coverage detected