as2fm.as2fm_common.ecmascript_interpretation.is_literal

as2fm.as2fm_common.ecmascript_interpretation.is_literal(expr: str, elem: _Element | None) bool

Evaluate if the expression contains only a literal (or an array expression).