[#BloombergLP-bdlar-SequenceRef-hasAttribute-0d]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::xref:BloombergLP/bdlar/SequenceRef.adoc[SequenceRef]::hasAttribute
:relfileprefix: ../../../
:mrdocs:

`hasAttribute` overloads

== Synopses

Declared in `&lt;bdlar&lowbar;sequenceref&period;h&gt;`

Return `true` if the referred sequence object has an attribute with the specified `attributeId`, and `false` otherwise&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdlar/SequenceRef/hasAttribute-0c.adoc[hasAttribute](int attributeId) const;
----

[.small]#xref:BloombergLP/bdlar/SequenceRef/hasAttribute-0c.adoc[_» more&period;&period;&period;_]#

Return `true` if the referred sequence object has an attribute with the specified `attributeName` of the specified `attributeNameLength`, and `false` otherwise&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BloombergLP/bdlar/SequenceRef/hasAttribute-01.adoc[hasAttribute](
    char const* attributeName,
    int attributeNameLength) const;
----

[.small]#xref:BloombergLP/bdlar/SequenceRef/hasAttribute-01.adoc[_» more&period;&period;&period;_]#


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