hasSwitch

abstract fun hasSwitch(name: String): Boolean

Checks if the command line has a specific switches.

Return

true if the command line contains the given switch.

Parameters

name

A switch name to test for.