mirror of
https://github.com/nlohmann/json.git
synced 2024-11-23 22:19:02 +08:00
Update is_structured.md (#4472)
This commit is contained in:
parent
b36f4c477c
commit
6325839776
@ -21,7 +21,7 @@ Constant.
|
|||||||
## Possible implementation
|
## Possible implementation
|
||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
constexpr bool is_primitive() const noexcept
|
constexpr bool is_structured() const noexcept
|
||||||
{
|
{
|
||||||
return is_array() || is_object();
|
return is_array() || is_object();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user