Skip to main content

create_boolean_lit

Function create_boolean_lit 

Source
pub fn create_boolean_lit(value: bool) -> Lit
Expand description

Creates a Lit::Boolean from a boolean.

§Arguments

  • value - The boolean to create a literal for

§Example

let lit_boolean = create_boolean_lit(true);