MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / object_range

Method object_range

include/chaiscript/utility/json.hpp:350–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

348 }
349
350 JSONWrapper<QuickFlatMap> object_range() {
351 if( internal.Type == Class::Object ) {
352 return JSONWrapper<QuickFlatMap>( internal.Map.get() );
353 } else {
354 return JSONWrapper<QuickFlatMap>( nullptr );
355 }
356 }
357
358 JSONWrapper<std::vector<JSON>> array_range() {
359 if( internal.Type == Class::Array ) {

Callers 1

from_jsonMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected