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

Method array_range

include/chaiscript/utility/json.hpp:358–364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

356 }
357
358 JSONWrapper<std::vector<JSON>> array_range() {
359 if( internal.Type == Class::Array ) {
360 return JSONWrapper<std::vector<JSON>>( internal.List.get() );
361 } else {
362 return JSONWrapper<std::vector<JSON>>( nullptr );
363 }
364 }
365
366 JSONConstWrapper<QuickFlatMap> object_range() const {
367 if( internal.Type == Class::Object ) {

Callers 1

from_jsonMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected