(pattern)
| 134 | * @returns {ESTree.Identifier[]} |
| 135 | */ |
| 136 | export function extract_identifiers(pattern) { |
| 137 | return unwrap_pattern(pattern, []).filter((node) => node.type === 'Identifier'); |
| 138 | } |
| 139 | |
| 140 | /** |
| 141 | * Extracts all identifiers and a stringified keypath from an expression. |
no test coverage detected