swc_core::ecma::utils

Function is_literal

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