Qore Programming Language Reference Manual  0.9.4.1
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>::intp
bool intp()
Returns True because boolean values can be converted to integers (False = 0, True = 1)
<bool>::strp
bool strp()
Returns True because boolean values can be converted to strings (False = "0", True = "1")
<bool>
Methods in this pseudo-class can be executed on booling-point values.
Definition: Pseudo_QC_Bool.dox.h:5
<bool>::val
bool val()
Returns itself.
<value>
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
Qore
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:2
<bool>::typeCode
int typeCode()
Returns Qore::NT_BOOLEAN.