BoolFromResult function

Converts a Result type to a Bool type, where One is mapped to true and Zero is mapped to false.

function BoolFromResult (input : Result) : Bool

Input

input
Result

Result to be converted.

Output

Bool

A Bool representing the input.