Macro liquid_core::scalar
source · [−]macro_rules! scalar {
($value:literal) => { ... };
($other:ident) => { ... };
($other:expr) => { ... };
}
Expand description
A value::Scalar literal.
Example
liquid_core::scalar!(5)
.to_integer().unwrap();
liquid_core::scalar!("foo")
.to_kstr();