(string: string)
| 436 | const NON_WHITESPACE_REGEXP = /\S/; |
| 437 | |
| 438 | function isNumber(string: string): boolean { |
| 439 | return NON_WHITESPACE_REGEXP.test(string) && Number.isFinite(Number(string)); |
| 440 | } |
| 441 | |
| 442 | function isConstructorOrProto(obj: NestedMapping, key: string): boolean { |
| 443 | return (key === "constructor" && typeof obj[key] === "function") || |
no outgoing calls
no test coverage detected