asFloatOrNull

abstract fun asFloatOrNull(): Float?

如果此元素是有效的 Float 数字,则返回其值;否则返回 null

Return

Float 值或 null