Qore Programming Language Reference Manual 1.18.0
Loading...
Searching...
No Matches
Pseudo_QC_Bool.dox.h
1
3namespace Qore {
5/***/
6class <bool> : public <value> {
7
8public:
10
21bool intp();
22
23public:
25
36bool strp();
37
38public:
40
55
56public:
58
72bool val();
73};
74}
Methods in this pseudo-class can be executed on booling-point values.
Definition: Pseudo_QC_Bool.dox.h:6
bool strp()
Returns True because boolean values can be converted to strings (False = "0", True = "1")
bool intp()
Returns True because boolean values can be converted to integers (False = 0, True = 1)
bool val()
Returns itself.
int typeCode()
Returns Qore::NT_BOOLEAN.
Methods in this pseudo-class are available to be executed on any value type (even NOTHING); this is t...
Definition: Pseudo_QC_All.dox.h:6
Qore namespace.
Definition: QC_AbstractSmartLock.dox.h:2