company logo

Option :: isTrue - Check option value for true

The function checks, whether the option value is true or not. The function returns true , when the option value is defined as one of the following case insensitive string values:

true, yes, ja, t, y, j, 1

When this is not the case or the option value has not been set, the function returns false .

Return value:  Success ( bool  )

The value is true when the function was executed successfully. Otherwise the value is set to false .

Implementation details

bool Option  :: isTrue (  )