MCPcopy Create free account
hub / github.com/dhbloo/rapfi / get_array

Method get_array

Rapfi/external/cpptoml/include/cpptoml.h:1398–1403  ·  view source on GitHub ↗

* Obtains an array for a given key. */

Source from the content-addressed store, hash-verified

1396 * Obtains an array for a given key.
1397 */
1398 std::shared_ptr<array> get_array(const std::string& key) const
1399 {
1400 if (!contains(key))
1401 return nullptr;
1402 return get(key)->as_array();
1403 }
1404
1405 /**
1406 * Obtains an array for a given key. Will resolve "qualified keys".

Callers 1

readGeneralMethod · 0.80

Calls 2

containsFunction · 0.85
as_arrayMethod · 0.80

Tested by

no test coverage detected