Qore Programming Language Reference Manual  0.8.9
 All Classes Namespaces Functions Variables Groups Pages
Pseudo_QC_Bool.dox.h
1 namespace Qore {
4 
5 class <bool> : public <value> {
6 
7 public:
9 
20 bool intp();
21 
22 public:
24 
35 bool strp();
36 
37 public:
39 
53 int typeCode();
54 
55 public:
57 
71 bool val();
72 };
73 };
bool strp()
Returns True because boolean values can be converted to strings (False = &quot;0&quot;, True = &quot;1&quot;) ...
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:5
int typeCode()
Returns Qore::NT_BOOLEAN.
Methods in this pseudo-class can be executed on booling-point values.
Definition: Pseudo_QC_Bool.dox.h:5
bool intp()
Returns True because boolean values can be converted to integers (False = 0, True = 1) ...
bool val()
Returns itself.