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

Method As

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

Source from the content-addressed store, hash-verified

1079 // `AsBool()`.
1080 template <typename T>
1081 std::enable_if_t<std::is_same_v<BoolValue, T>, absl::optional<BoolValue>>
1082 As() & {
1083 return AsBool();
1084 }
1085 template <typename T>
1086 std::enable_if_t<std::is_same_v<BoolValue, T>, absl::optional<BoolValue>> As()
1087 const& {

Callers

nothing calls this directly

Calls 15

AsBytesMethod · 0.45
AsErrorMethod · 0.45
AsListMethod · 0.45
AsMapMethod · 0.45
AsMessageMethod · 0.45
AsOpaqueMethod · 0.45
AsOptionalMethod · 0.45
AsParsedJsonListMethod · 0.45
AsParsedJsonMapMethod · 0.45
AsCustomListMethod · 0.45
AsCustomMapMethod · 0.45
AsParsedMapFieldMethod · 0.45

Tested by

no test coverage detected