[#BloombergLP-bslmf-IsArray]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmf.adoc[bslmf]::IsArray
:relfileprefix: ../../
:mrdocs:

Non&hyphen;standard meta&hyphen;function for detecting array types&period;

== Synopsis

Declared in `&lt;bslmf&lowbar;isarray&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;TYPE&gt;
struct IsArray
    : bsl::is&lowbar;array&lt;t&lowbar;TYPE&gt;::type
----

== Description

This `struct` template implements a meta&hyphen;function to determine if the (template parameter) `t&lowbar;TYPE` is an array type&period; This `struct` derives from `bsl&colon;&colon;true&lowbar;type` if the `t&lowbar;TYPE` is an array type, and `bsl&colon;&colon;false&lowbar;type` otherwise&period;

Note that although this `struct` is functionally equivalent to `bsl&colon;&colon;is&lowbar;array`, the use of `bsl&colon;&colon;is&lowbar;array` should be preferred&period;

== Base Classes

[cols="1,4"]
|===
| Name| Description
| `bsl::is&lowbar;array&lt;t&lowbar;TYPE&gt;::type`
| 
|===


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