[#BloombergLP-bdlb-operator_le-0b] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::operator<= :relfileprefix: ../../ :mrdocs: Return whether `lhs` is ordered before `rhs` or they are equal. == Synopsis Declared in `<bdlb_nullablevalueref.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class LHS_TYPE, class RHS_TYPE> bool operator<=( xref:BloombergLP/bdlb/ConstNullableValueRef.adoc[ConstNullableValueRef<LHS_TYPE>] const& lhs, xref:BloombergLP/bdlb/NullableValueRef.adoc[NullableValueRef<RHS_TYPE>] const& rhs); ---- == Description Return `true` if the specified `lhs` nullable wrapper is ordered before the specified `rhs` nullable object or `lhs` and `rhs` have the same value, and `false` otherwise. (See `operator<` and `operator==`.) Note that this function will fail to compile if `LHS_TYPE` and `RHS_TYPE` are not compatible. == Return Value `true` if the specified `lhs` nullable wrapper is ordered before the specified `rhs` nullable object or `lhs` and `rhs` have the same value, 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]#