# std::experimental::any::empty

> C++ Atlas: `cppatlas.com/w/cpp/experimental/any/empty` | Source: https://en.cppreference.com/w/cpp/experimental/any/empty | Domain: Technical specifications

Checks whether the object contains a value.

## Official Specification Summary (cppreference)

```cpp
bool empty() const noexcept; // (library fundamentals TS)
```

Checks whether the object contains a value.

### Parameters

(none)

### Return value

`true` if instance is empty, otherwise `false`.

---
Attribution: content from https://en.cppreference.com/w/cpp/experimental/any/empty (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.