Function swc_core::ecma::utils::is_literal

pub fn is_literal<T>(node: &T) -> bool
Available on crate features __ecma and __utils only.