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

OpenersPrimaryExamplesSection(Spacer1)Examples  (2)

OpenersExampleSection0(Spacer1)Basic Examples  (2)

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

ByteArrayQ[ByteArray[Range[16]]]

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

ByteArrayQ[ByteArray["abc"]]

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

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