[][src]Macro liquid_value::scalar

macro_rules! scalar {
    ($value:literal) => { ... };
    ($other:ident) => { ... };
    ($other:expr) => { ... };
}

A value::Scalar literal.

Example

liquid_value::scalar!(5)
    .to_integer().unwrap();
liquid_value::scalar!("foo")
    .to_kstr();