Home About Rice Downloads Documents Others Cooker CookerGX
Documents  >  Class  >  bool  >  S
bool class : S getter

Description

Gets a string representation of the bool value.

Syntax

boolInstance.S

Arguments

None

Return value

ClassDescription
stringA string representation of the bool value.

Sample code

//anyBool is an instance of bool type.

string stringRepresentation = anyBool.S;

Notes

Returns "true" if the value is true. Otherwise, returns "false".

Links for reference

None

Copyright © Rice All rights reserved.