Μετάβαση στο κύριο περιεχόμενο

//ERDDAP/com.cohort.util/ScriptString2/parseBoolean

parseBoolean

[JVM]
open fun parseBoolean(s: String): Boolean

This converts a string to a boolean.

Return

false if s is "false", "f", or "0". Case and leading/trailing spaces don't matter. All other values (and null) are treated as true.

Parameters

JVM

sthe string