MCPcopy Create free account
hub / github.com/tailscale/hujson / Float

Method Float

types.go:340–355  ·  view source on GitHub ↗

Float returns the floating-point value for a JSON number. It returns a NaN, +Inf, or -Inf value for any JSON string with the values "NaN", "Infinity", or "-Infinity". It returns 0 for all other cases.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

KindMethod · 0.95
StringMethod · 0.95

Tested by

no test coverage detected