Skip to main content

NewBool

Creates a Bool.

def NewBool(
initial: bool
) - > Bool

Creates a Bool object. Call this function to initialize a new boolean value.

Parameters

NameTypeDescription
initialboolThe initial boolean value to set for the new Bool object.

Returns

TypeDescription
BoolA new Bool object with the specified initial value.