97 float float(softfloat f);
202 int int(
string str, softint base);
285 string string(softstring str, *
string enc);
316 string type(any arg);
335 string typename(any arg);
340 namespace Qore::Type {
const Date
Gives the type for the date values.
Definition: ql_type.dox.h:355
const Hash
Gives the type for hash values.
Definition: ql_type.dox.h:359
const String
Gives the type for string values.
Definition: ql_type.dox.h:373
const NullType
Gives the type for SQL null values.
Definition: ql_type.dox.h:367
number number(softnumber n)
Converts the argument to a number value.
binary binary()
Always returns an empty binary object (of zero length)
const List
Gives the type for list values.
Definition: ql_type.dox.h:363
const NothingType
Gives the type when no value is available.
Definition: ql_type.dox.h:365
list list(...)
Returns a list of the arguments passed at the top level.
const Float
Gives the type for float values.
Definition: ql_type.dox.h:357
const Boolean
Gives the type for boolean values.
Definition: ql_type.dox.h:349
const Binary
Gives the type for binary values.
Definition: ql_type.dox.h:347
float float(softfloat f)
Converts the argument to a floating-point (float) value.
const CallReference
Gives the type for call references.
Definition: ql_type.dox.h:351
string type(any arg)
Returns a string giving the data type of the argument passed; see String Type Constants for the value...
const Int
Gives the type for integer values.
Definition: ql_type.dox.h:361
string string(softstring str, *string enc)
Converts the argument to a string.
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 Closure
Gives the type for closures.
Definition: ql_type.dox.h:353
int int(string str, softint base)
Converts the argument to an integer value.
const Object
Gives the type for object values.
Definition: ql_type.dox.h:371
hash hash(object obj)
Returns a hash of an object's members.
const Number
Gives the type for number values.
Definition: ql_type.dox.h:369
bool boolean(any arg)
Converts the argument to a boolean value.