[#BloombergLP-bdlat_SequenceFunctions-hasAttribute-099]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_SequenceFunctions.adoc[bdlat&lowbar;SequenceFunctions]::hasAttribute
:relfileprefix: ../../
:mrdocs:

`hasAttribute` overloads

== Synopses

Declared in `&lt;bdlat&lowbar;sequencefunctions&period;h&gt;`

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
bool
xref:BloombergLP/bdlat_SequenceFunctions/hasAttribute-02.adoc[hasAttribute](
    TYPE const& object,
    int attributeId);
----

[.small]#xref:BloombergLP/bdlat_SequenceFunctions/hasAttribute-02.adoc[_» more&period;&period;&period;_]#

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


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
bool
xref:BloombergLP/bdlat_SequenceFunctions/hasAttribute-09c.adoc[hasAttribute](
    TYPE const& object,
    char const* attributeName,
    int attributeNameLength);
----

[.small]#xref:BloombergLP/bdlat_SequenceFunctions/hasAttribute-09c.adoc[_» more&period;&period;&period;_]#


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