Returns an argument, or a nullptr if the index is out of range.
| 56 | |
| 57 | /// Returns an argument, or a nullptr if the index is out of range. |
| 58 | const choc::value::Value* operator[] (size_t index) const { return index < numArgs ? args + index : nullptr; } |
| 59 | |
| 60 | /// Gets an argument as a primitive type (or a string). |
| 61 | /// If the index is out of range or the object isn't a suitable type, |
nothing calls this directly
no outgoing calls
no test coverage detected