MCPcopy Create free account
hub / github.com/FastLED/FastLED / clone_array

Method clone_array

src/fl/stl/json.h:293–293  ·  view source on GitHub ↗

Explicit copy methods - use when you need an owned copy or type conversion

Source from the content-addressed store, hash-verified

291
292 // Explicit copy methods - use when you need an owned copy or type conversion
293 fl::optional<json_array> clone_array() const FL_NOEXCEPT { return mValue ? mValue->clone_array() : fl::nullopt; }
294 fl::optional<json_object> clone_object() const FL_NOEXCEPT { return mValue ? mValue->clone_object() : fl::nullopt; }
295
296 // Copy packed-array elements into a caller-owned span with type conversion.

Callers 3

as_implMethod · 0.45
operator[]Method · 0.45
push_backMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected