Files
Logic 29d1ad71ab
Some checks failed
docker-cicd / build-and-push (push) Failing after 16s
Initial commit
2026-03-21 18:47:00 +08:00

8 lines
226 B
JavaScript

var _typeof = require("./typeof"),
toPrimitive = require("./toPrimitive");
function _toPropertyKey(r) {
var t = toPrimitive(r, "string");
return "symbol" === _typeof(t) ? t : String(t)
}
module.exports = _toPropertyKey;