the-forest/client/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js

7 lines
227 B
JavaScript
Raw Normal View History

2024-09-17 20:35:18 -04:00
import _typeof from "./typeof.js";
import toPrimitive from "./toPrimitive.js";
function toPropertyKey(t) {
var i = toPrimitive(t, "string");
return "symbol" == _typeof(i) ? i : i + "";
}
export { toPropertyKey as default };