nitc :: Instance :: is_true
true
Return false if the instance is the false value. Abort if the instance is not a boolean value.
false
# Return `true` if the instance is the `true` value. # # Return `false` if the instance is the `false` value. # Abort if the instance is not a boolean value. fun is_true: Bool do abort
redef fun is_true do if val == true then return true if val == false then return false abort end