type IsHexOptions = { strict?: boolean };
If set to true, the value must start with "0x" and only contain hexadecimal characters. If set to false, the value can start with "0x" or not. Default is true.
type strict = boolean;