MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / hasNoneNullChildren

Method hasNoneNullChildren

src/common/types/value/value.cpp:941–948  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

939}
940
941bool Value::hasNoneNullChildren() const {
942 for (auto i = 0u; i < childrenSize; ++i) {
943 if (!children[i]->isNull()) {
944 return true;
945 }
946 }
947 return false;
948}
949
950// Handle the case of casting empty list to a different type.
951bool Value::allowTypeChange() const {

Callers 1

compatibleFunction · 0.80

Calls 1

isNullMethod · 0.45

Tested by

no test coverage detected