isBytes()function

isBytes(value: unknown): value is Bytes
ParamType
valueunknown
The value to test. required
Return
value is Bytes
true if value is a Uint8Array backed by an ArrayBuffer, narrowing its type.

Is an unknown value a set of bytes?