BoolStringNullableExtensions extension

Saropa extensions for converting bool to String

on

Methods

toBool() bool

Available on String?, provided by the BoolStringNullableExtensions extension

Converts a case-insensitive string of 'true' to a boolean. Returns false if the string is null, empty, or not 'true'.