Convert Extensions

Useful extensions which convert from one type to another

These extensions can be found within the namespace UmbCheckout.Shared.Extensions

ToBoolean

Converts a string to boolean

Example
Model.StringBoolean.ToBoolean()
String ValueReturned Boolean

"true"

true

"1"

true

"false"

false

"0"

false

Last updated