[#BloombergLP-bslalg-RbTreeUtil-isRightChild]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslalg.adoc[bslalg]::xref:BloombergLP/bslalg/RbTreeUtil.adoc[RbTreeUtil]::isRightChild
:relfileprefix: ../../../
:mrdocs:

Return whether `node` is the right child of its parent&period;

== Synopsis

Declared in `&lt;bslalg&lowbar;rbtreeutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
isRightChild(xref:BloombergLP/bslalg/RbTreeNode.adoc[RbTreeNode] const* node);
----

== Description

Return `true` if the specified `node` is the right child of its parent, and `false` otherwise&period; The behavior is undefined unless `0 !&equals; node&hyphen;&gt;parent()`&period;

== Return Value

`true` if `node` is the right child of its parent

== Parameters

[cols="1,4"]
|===
| Name| Description
| *node*
| node whose parent&hyphen;child relationship is tested
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
