is_empty
Indicates whether the slice has no data, crucial for control flow
Signature
is_empty(self) -> bool
Specifiers
constexprconstnoexcept
Attributes
nodiscard
is_emptyIndicates whether the slice has no data, crucial for control flow
is_empty(self) -> bool
constexprconstnoexceptnodiscard