UNPKG

232 BJavaScriptView Raw
1import _typeof from "../../helpers/esm/typeof";
2import toPrimitive from "./toPrimitive";
3export default function _toPropertyKey(arg) {
4 var key = toPrimitive(arg, "string");
5 return _typeof(key) === "symbol" ? key : String(key);
6}
\No newline at end of file