Function jsonb::as_f64

source ·
pub fn as_f64(value: &[u8]) -> Option<f64>
Expand description

If the JSONB is a Number, represent it as f64 if possible. Returns None otherwise.