BooleanExtensions extension

on

Methods

getIntBool({bool value = false}) int

Available on bool?, provided by the BooleanExtensions extension

get int value from bool
validate({bool value = false}) bool

Available on bool?, provided by the BooleanExtensions extension

Validate given bool is not null and returns given value if null.