Skip to content

anim-format (runtime format) / compareSlotNames

Function: compareSlotNames() ​

ts
function compareSlotNames(a, b): number;

natural order by parts: numbers by value, the rest by code units

Parameters ​

ParameterType
astring
bstring

Returns ​

number

HereSplash — 2D animation for the web