plutus-core-1.0.0.1: Language library for Plutus Core
Safe Haskell None
Language Haskell2010

PlutusCore.StdLib.Data.Bool

Description

boolean and related functions.

Synopsis

Documentation

ifThenElse :: ( TermLike term TyName Name uni DefaultFun , uni `Includes` Bool , uni `Includes` ()) => term () Source #

if_then_else_ as a PLC term.

/\(A :: *) -> \(b : Bool) (x y : () -> A) -> IfThenElse {() -> A} b x y ()