Function swc_ecma_utils::is_literal

source ยท
pub fn is_literal<T>(node: &T) -> bool
where T: VisitWith<LiteralVisitor>,