Performs a checked cast from a value to a list value, returning a non-empty optional with either a value or reference to the list value. Otherwise an empty optional is returned.
| 843 | // returning a non-empty optional with either a value or reference to the |
| 844 | // list value. Otherwise an empty optional is returned. |
| 845 | absl::optional<ListValue> AsList() & { return std::as_const(*this).AsList(); } |
| 846 | absl::optional<ListValue> AsList() const&; |
| 847 | absl::optional<ListValue> AsList() &&; |
| 848 | absl::optional<ListValue> AsList() const&& { |