swc_core::ecma::utils

Function find_pat_ids

pub fn find_pat_ids<T, I>(node: &T) -> Vec<I>
Available on crate features __ecma and __utils only.
Expand description

Finds all binding idents of node.

If you want to avoid allocation, use for_each_binding_ident instead.