[#mp_units-is_non_negative] = xref:mp_units.adoc[mp_units]::is_non_negative :relfileprefix: ../ :mrdocs: == Synopsis Declared in `<mp‐units/framework/quantity_spec.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<xref:mp_units/QuantitySpec.adoc[QuantitySpec] Q> [[nodiscard]] consteval bool is_non_negative(Q); ---- == Return Value [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== [.small]#Created with https://www.mrdocs.com[MrDocs]#