Function: isFlexBytes
Utils.isFlexBytes
▸ isFlexBytes<Min
, Max
>(b
, min
, max
): b is FlexBytes<Min, Max>
Type guard for FlexBytes<Min,Max> type
Type parameters
Name | Type |
---|---|
Min | extends number |
Max | extends number = Min |
Parameters
Name | Type | Description |
---|---|---|
b | unknown | The byte array |
min | Min | Minimum size of the array |
max | Max | Maximum size of the array |
Returns
b is FlexBytes<Min, Max>