source: node_modules/@babel/runtime/helpers/esm/toPropertyKey.js@ 65b6638

main
Last change on this file since 65b6638 was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 208 bytes
Line 
1import _typeof from "./typeof.js";
2import toPrimitive from "./toPrimitive.js";
3export default function toPropertyKey(t) {
4 var i = toPrimitive(t, "string");
5 return "symbol" == _typeof(i) ? i : String(i);
6}
Note: See TracBrowser for help on using the repository browser.