ScValHostOrder
in package
Soroban host ordering for SCVal keys and values.
Tags
Table of Contents
Methods
- compare() : int
- Compares by SCVal type, then content in host order; returns negative, zero or positive.
Methods
compare()
Compares by SCVal type, then content in host order; returns negative, zero or positive.
public
static compare(XdrSCVal $a, XdrSCVal $b) : int
Signed integers compare numerically, byte strings lexicographically and collections recursively.