Setting.parseBool

parse string as boolean; supports 1, 0, y, n, yes, no, t, f, true, false; returns defValue if cannot be parsed

class Setting
static
bool
parseBool
(
inout string v
,
bool defValue = false
)

Meta