Skip to main content

call_format_function

Function call_format_function 

Source
pub fn call_format_function(
    name: &str,
    args: &Map<String, Value>,
    formatter: &dyn Formatter,
    now: f64,
) -> Option<Option<Value>>
Expand description

One format function over formatter; now = the clock formatRelativeTime reads without a now argument. None = not a format function, Some(None) = an undefined result.