({{, (RefLink[NumericArrayQ, paclet:ref/NumericArrayQ])[expr] 
gives (RefLink[True, paclet:ref/True]) if expr is a valid (RefLink[NumericArray, paclet:ref/NumericArray]) object, and (RefLink[False, paclet:ref/False]) otherwise.}})

OpenersPrimaryExamplesSection(Spacer1)Examples  (3)

OpenersExampleSection0(Spacer1)Basic Examples  (2)

A valid (RefLink[NumericArray, paclet:ref/NumericArray]) object:

NumericArrayQ[NumericArray[Range[16], "UnsignedInteger8"]]

An expression with head (RefLink[NumericArray, paclet:ref/NumericArray]) that is not a valid byte array object:

NumericArrayQ[NumericArray["abc", "Real32"]]

OpenersExampleSection3(Spacer1)Possible Issues  (1)

Currently, the smallest negative integer cannot be stored in a (RefLink[NumericArray, paclet:ref/NumericArray]) for any signed integer type.

Try to store -(2^7) in an (StringTypeLink["Integer8", paclet:ref/format/Integer8]) numeric array:

NumericArrayQ[NumericArray[{-128},"Integer8"]]

Use the "Clip" method to automatically clip the smallest negative integer:

NumericArrayQ[NumericArray[{-128},"Integer8","Clip"]]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[NumericArray, paclet:ref/NumericArray])  ▪  (RefLink[ByteArray, paclet:ref/ByteArray])  ▪  (RefLink[ByteArrayQ, paclet:ref/ByteArrayQ])  ▪  (RefLink[ArrayQ, paclet:ref/ArrayQ])  ▪  (RefLink[IntegerQ, paclet:ref/IntegerQ])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Binary Data, paclet:guide/BinaryData])}})}})