참고: 이 페이지는 아직 한국어로 번역되지 않았습니다. 아래는 영어 원문입니다.
value
is a valid HexString | HexString.
If length
is true
or a number, it also checks that value
is a valid DataHexString | DataHexString of
length
(if a number) bytes of data (e.g. 0x1234
is 2 bytes).
Parameter | Type | Description |
---|---|---|
value | any | The value to check. |
length ? | number | boolean | The expected length of the data. |