[#BloombergLP-bdlat_SequenceFunctions-bdlat_sequenceHasAttribute-0f] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_SequenceFunctions.adoc[bdlat_SequenceFunctions]::bdlat_sequenceHasAttribute :relfileprefix: ../../ :mrdocs: `bdlat_sequenceHasAttribute` overloads == Synopses Declared in `<bdlat_sequencefunctions.h>` Default customization‐point implementation of `hasAttribute` by id. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> bool xref:BloombergLP/bdlat_SequenceFunctions/bdlat_sequenceHasAttribute-04.adoc[bdlat_sequenceHasAttribute]( TYPE const& object, int attributeId); ---- [.small]#xref:BloombergLP/bdlat_SequenceFunctions/bdlat_sequenceHasAttribute-04.adoc[_» more..._]# Default customization‐point implementation of `hasAttribute` by name. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> bool xref:BloombergLP/bdlat_SequenceFunctions/bdlat_sequenceHasAttribute-07.adoc[bdlat_sequenceHasAttribute]( TYPE const& object, char const* attributeName, int attributeNameLength); ---- [.small]#xref:BloombergLP/bdlat_SequenceFunctions/bdlat_sequenceHasAttribute-07.adoc[_» more..._]# == Return Value * `true` if `object` has the attribute with `attributeId`, and `false` otherwise * `true` if `object` has the named attribute, and `false` otherwise == Parameters [cols="1,4"] |=== | Name| Description | *object* | sequence to query for the attribute | *attributeId* | id of the attribute to look up | *attributeName* | name of the attribute to look up | *attributeNameLength* | length of `attributeName` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#