bool class

Description

Represents a Boolean value.

Notes

This class is a standard built-in class in the Rice language.

Instance that is created by declaration have been already initialized.

The initial value is false.

It can have a value of true or false.

fitter

SignatureDescription
bool()

Get a new instance of bool class with initial value.

bool(bool)

Get a new instance of bool class with the same value as the argument.

getter

SignatureDescription
B

Gets a new instance with the same value as the calling instance.

Fitted

Gets the value that indicates whether this instance was already initialized.

S

Gets a string representation of the bool value.

TypeName

Gets the type name.

setter

SignatureDescription
Value(bool)

This setter will change only the value without changing the reference value.

method

SignatureDescription
Clone()

Gets a new instance with the same value as the calling instance.

ToString()

Gets the string representation of the boolean value.

Copyright © Rice All rights reserved.