Hex.isEqual
Checks if two Hex.Hex
values are equal.
Imports
Named
import { Hex } from 'ox'
Examples
import { Hex } from 'ox'
Hex.isEqual('0xdeadbeef', '0xdeadbeef')
true Hex.isEqual('0xda', '0xba')
false
Definition
function isEqual(
hexA: Hex,
hexB: Hex,
): boolean
Source: src/core/Hex.ts
Parameters
hexA
- Type:
Hex
The first Hex.Hex
value.
hexB
- Type:
Hex
The second Hex.Hex
value.
Return Type
true
if the two Hex.Hex
values are equal, false
otherwise.
boolean