Package-level declarations

Functions

Link copied to clipboard

Boolean Extension that will check if a value is true, performing a check in case it may be nullable

Link copied to clipboard
fun Boolean?.orFalse(defaultValue: Boolean = false): Boolean

Boolean Extension to show the original Boolean that we pass from the extension or in case of being null we will pass a default value. This default value can be the value you want or the defined one (this would be false)