[][src]Function gtmpl::funcs::gt

pub fn gt(args: &[Value]) -> Result<Value, String>

Returns the boolean truth of arg1 > arg2

Example

use gtmpl::template;
let greater_than = template("{{ gt 1.4 . }}", 1.2);
assert_eq!(&greater_than.unwrap(), "true");