MCPcopy Create free account
hub / github.com/Tracktion/choc / empty

Method empty

choc/javascript/choc_javascript.h:55–55  ·  view source on GitHub ↗

Returns true if there are no arguments

Source from the content-addressed store, hash-verified

53 size_t size() const noexcept { return numArgs; }
54 /// Returns true if there are no arguments
55 bool empty() const noexcept { return numArgs == 0; }
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; }

Callers 5

evaluateExpressionMethod · 0.45
runMethod · 0.45
v8ToChocMethod · 0.45
chocToV8Method · 0.45
getExceptionMessageMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected