mrdocs::dom::Value
A variant container for any kind of Dom value.
Member Functions
Name |
Description |
|
Constructors |
|
Destructor |
Assignment operators |
|
Return if an Array or Object is empty. |
|
Return true if a key exists. |
|
|
|
Return the array. |
|
Return the underlying boolean value. |
|
Return the function. |
|
Return the underlying integer value. |
|
Return the object. |
|
Return the underlying string value. |
|
Return true if this is an array. |
|
Return true if this is a boolean. |
|
Return true if this is a function. |
|
Return true if this is an integer. |
|
Return true if this is null. |
|
Return true if this is an object. |
|
Return true if this is a safe string. |
|
Return true if this is a string. |
|
Determine if a value is truthy |
|
Return true if this is undefined. |
|
Return the type of value contained. |
|
Lookup a sequence of keys. |
|
Invoke the function. |
|
Set or replace the value for a given key. |
|
Return if an Array or Object is empty. |
|
Swap two values. |
|
Return the type key of the value. |
|
Return the string. |
|
Determine if a value is truthy |
Data Members
Name |
|
|
|
|
|
|
Friends
| Name | Description |
|---|---|
Return value as a string. |
|
Return the first dom::Value that is not truthy, or the last one. |
|
Return the first dom::Value that is truthy, or the last one. |
|
Add or concatenate two values. |
|
Three‐way comparison operator |
|
Three‐way comparison operator |
|
Compare two values for inequality. |
|
Compare two values for equality. |
|
Swap two values. |
|
Create a wrapper for a safe string. |
|
A container of key and value pairs. |
|
An array of values |
Non-Member Functions
Name |
Description |
Convert an object of type |
|
Convert an object of type |
|
Return a non‐empty string, or a null. |
|
Return a non‐empty string, or a null. |
|
Return a non‐empty string, or a null. |
|
Stringify a value as JSON |
|
Determine if a value is empty |
|
|
"detag" helper function |
|
"increment" helper function |
|
"or" helper function |
|
"relativize" helper function |
|
"select" helper function |
Created with MrDocs