(re)
| 11 | * @returns {string} |
| 12 | */ |
| 13 | export function source(re) { |
| 14 | if (!re) return null; |
| 15 | if (typeof re === "string") return re; |
| 16 | |
| 17 | return re.source; |
| 18 | } |
| 19 | |
| 20 | /** |
| 21 | * @param {RegExp | string } re |
no outgoing calls
no test coverage detected
searching dependent graphs…