systemFlag

fun systemFlag(name: String): Boolean

Retrieve a flag (boolean parameter) by name by looking in OS environment variables first and in the JVM system properties if not found.

Return

True if the parameter is found and its value is exactly 'true', false otherwise.

Parameters

name

Name of the searched parameter, can not be blank.