UNPKG

@qvant/qui-max

Version:

A Vue 3 Design system for Web.

12 lines (11 loc) 318 B
import isSymbol from "./isSymbol.js"; var INFINITY = 1 / 0; function toKey(value) { if (typeof value == "string" || isSymbol(value)) { return value; } var result = value + ""; return result == "0" && 1 / value == -INFINITY ? "-0" : result; } export { toKey as default }; //# sourceMappingURL=_toKey.js.map