[#BloombergLP-bdlb-operator_le-065] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::operator<= :relfileprefix: ../../ :mrdocs: Return whether `lhs` is less than or equal to `rhs`. == Synopsis Declared in `<bdlb_nullablevalue.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class LHS_TYPE, class RHS_TYPE> bool operator<=( std::optional<LHS_TYPE> const& lhs, xref:BloombergLP/bdlb/NullableValue.adoc[NullableValue<RHS_TYPE>] const& rhs) requires requires { { *lhs <= *rhs } ‐> NullableValue_ConvertibleToBool; }; ---- == Description Return `true` if `lhs` is ordered before `rhs` or they are equal. == Return Value `true` if `lhs` is ordered before `rhs` or they are equal, and `false` otherwise == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | left‐hand operand | *rhs* | right‐hand operand |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#