Skip to main content

create_string_expr_or_spread

Function create_string_expr_or_spread 

Source
pub fn create_string_expr_or_spread(value: &str) -> ExprOrSpread
Expand description

Creates an ExprOrSpread with a string value.

§Arguments

  • value - The string value

§Example

let expr_or_spread = create_string_expr_or_spread("value");