Skip to main content

display_string

Function display_string 

Source
pub fn display_string(value: &Value) -> String
Expand description

What a string/markdown prop SHOWS for a bound value: strings as they are, finite numbers as ECMAScript Number.prototype.toString (412, 1.5, 1e-7, 1e+21, -0 → 0), booleans true/false; null, non-finite numbers, objects and arrays show nothing. No locale (use formatNumber). src/format.ts displayString.