MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / GetMap

Method GetMap

common/value.h:1791–1791  ·  view source on GitHub ↗

Performs an unchecked cast from a value to a map value. In debug builds a best effort is made to crash. If `IsMap()` would return false, calling this method is undefined behavior.

Source from the content-addressed store, hash-verified

1789 // debug builds a best effort is made to crash. If `IsMap()` would return
1790 // false, calling this method is undefined behavior.
1791 MapValue GetMap() & { return std::as_const(*this).GetMap(); }
1792 MapValue GetMap() const&;
1793 MapValue GetMap() &&;
1794 MapValue GetMap() const&& { return GetMap(); }

Callers 1

GetMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected