node-ejs-renderer/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js
2024-06-09 13:55:01 -04:00

6 lines
205 B
JavaScript

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 : i + "";
}