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

Method get

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

Source from the content-addressed store, hash-verified

220
221template <typename PrimitiveType>
222PrimitiveType ArgumentList::get (size_t index, PrimitiveType defaultValue) const
223{
224 if (auto a = (*this)[index])
225 return a->getWithDefault<PrimitiveType> (defaultValue);
226
227 return defaultValue;
228}
229
230struct Context::Pimpl
231{

Callers 2

V8InitialiserMethod · 0.45
pumpMessageLoopMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected