Bytes.isEqual
Checks if two Bytes.Bytes values are equal.
Imports
Named
import { Bytes } from 'ox'Examples
import { Bytes } from 'ox'
Bytes.isEqual(Bytes.from([1]), Bytes.from([1]))
true Bytes.isEqual(Bytes.from([1]), Bytes.from([2]))
falseDefinition
function isEqual(
bytesA: Bytes,
bytesB: Bytes,
): booleanSource: src/core/Bytes.ts
Parameters
bytesA
- Type:
Bytes
First Bytes.Bytes value.
bytesB
- Type:
Bytes
Second Bytes.Bytes value.
Return Type
true if the two values are equal, otherwise false.
boolean

