Method
fromString(_:)
Converts string to boolean value.
static func fromString(_ string: String) -> Bool?
Parameters
string-
String to convert
Return Value
Boolean value, or nil if string is not recognised
Discussion
Performs case-insensitive conversion from string to boolean, supporting standard true/false representations.