Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Fully qualified name: Std.Convert.BoolAsResult
function BoolAsResult(input : Bool) : Result
Summary
Converts a Bool type to a Result type, where true is mapped to
One and false is mapped to Zero.
Input
input
Bool to be converted.
Output
A Result representing the input.