IOTConnect-Web/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js

6 lines
208 B
JavaScript
Raw Normal View History

2024-05-09 01:49:52 +00:00
import _typeof from "./typeof.js";
import toPrimitive from "./toPrimitive.js";
export default function toPropertyKey(t) {
var i = toPrimitive(t, "string");
return "symbol" == _typeof(i) ? i : String(i);
}