use handlebars_helper;
pub const HEX: &str = "hex";
/// Return the hexadecimal representation of the integer value
/// ```
/// # use codegenr_lib::helpers::*;
/// # use serde_json::json;
/// assert_eq!(
/// exec_template(serde_json::Value::Null, "{{hex 42}}"),
/// "0x2a"
/// );
/// assert_eq!(
/// exec_template(json!({ "value": 42 }), "{{hex value}}"),
/// "0x2a"
/// );
/// ```
handlebars_helper!;