 |
Qore Programming Language Reference Manual
0.9.11
|
179 hash<auto>
hash(list<softstring> keys, list<auto> values);
239 int int(
string str,
int base = 10);
322 string string(softstring str, *
string enc);
372 string typename(
auto arg);
const List
Gives the type for list values.
Definition: ql_type.dox.h:402
string type(auto arg)
Returns a string giving the data type of the argument passed; see String Type Constants for the value...
float float(softfloat f)
Converts the argument to a floating-point (float) value.
string binary_to_string(binary b, *string encoding)
Returns a string created from the binary data passed, taking an optional second argument giving the s...
const Binary
Gives the type for binary values.
Definition: ql_type.dox.h:386
const NullType
Gives the type for SQL null values.
Definition: ql_type.dox.h:406
string string(softstring str, *string enc)
Converts the argument to a string.
const Number
Gives the type for number values.
Definition: ql_type.dox.h:408
const CallReference
Gives the type for call references.
Definition: ql_type.dox.h:390
const Closure
Gives the type for closures.
Definition: ql_type.dox.h:392
const Object
Gives the type for object values.
Definition: ql_type.dox.h:410
const Float
Gives the type for float values.
Definition: ql_type.dox.h:396
list< auto > list(...)
Returns a list of the arguments passed at the top level.
const String
Gives the type for string values.
Definition: ql_type.dox.h:412
hash< auto > hash(object obj)
Returns a hash of an object's members.
const NothingType
Gives the type when no value is available.
Definition: ql_type.dox.h:404
const Date
Gives the type for the date values.
Definition: ql_type.dox.h:394
auto auto_cast(auto val)
Returns complex types converted to the most specific types possible using internal type folding.
number number(softnumber n)
Converts the argument to a number value.
bool boolean(any arg)
Converts the argument to a boolean value.
main Qore-language namespace
Definition: Pseudo_QC_All.dox.h:3
const Hash
Gives the type for hash values.
Definition: ql_type.dox.h:398
int int(string str, int base=10)
Converts the string to an integer value with respect to the base.
const Int
Gives the type for integer values.
Definition: ql_type.dox.h:400
const Boolean
Gives the type for boolean values.
Definition: ql_type.dox.h:388
binary binary()
Always returns an empty binary object (of zero length)