swc_ecma_utils

Function is_literal

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