the-forest/client/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
2024-09-17 20:35:18 -04:00

7 lines
227 B
JavaScript

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 };