![]() |
![]()
| ![]() |
![]()
NAMEstd::chrono::weekday_indexed::ok - std::chrono::weekday_indexed::ok Synopsisconstexpr bool ok() const noexcept; (since C++20)
Return valuetrue if weekday().ok() == true and index() is in the range [1, 5]. Otherwise false. Example// Run this code
Output:true false false
|