Function create_spread_prop
Source pub fn create_spread_prop(expr: Expr) -> PropOrSpread
Expand description
Creates a PropOrSpread::Spread for spreading properties in an object literal.
§Arguments
expr - The expression to spread
§Example
ⓘlet spread = create_spread_prop(call_expr);