number

Returns the Double value of this JS value if the type is number. If not, returns nil.

JSValue.swift:47
var number: Double? { get }