Home About Rice Downloads Documents Others Cooker CookerGX
Documents  >  Class  >  bool  >  bool(bool)
bool class : bool(bool) fitter

Description

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

Syntax

new bool(bool value)

Arguments

ClassNameDescription
boolvalueThe value that the new instance has.

Return value

ClassDescription
boolA new instance of bool class with specified value.

Sample code

bool newBool = new bool(true);

Notes

None.

Links for reference

None.

Copyright © Rice All rights reserved.