toNumber

fun toNumber(value: String?): Number(source)

Transform a given value to a Number

Return

The transformed value

Since

0.1.0

Parameters

value

The value to transform

Throws

If the value is not a number


Transform a given value to a String or return null if the value is null

Return

The transformed value

Since

0.1.0

Throws

If the value is not a number