Home / Docs / Standard library / Prelude

as_f64

A function of the prelude, in scope in every module. Edition 0.3, 0.4, 0.5 preview.

una
pub as_f64(j: Json) -> Option[F64]

The F64 nearest a JSON number, None for any other Json (spec/29 §10).

Specification

Generated from the standard modules of una v0.4.0 (docs/std/listing.json, which is not part of the specification). The specification governs: spec/14 §1.