This repository has been archived on 2024-07-27. You can view files and clone it, but cannot push or open issues or pull requests.
|
import _typeof from "../../helpers/esm/typeof";
|
|
import toPrimitive from "./toPrimitive";
|
|
export default function _toPropertyKey(arg) {
|
|
var key = toPrimitive(arg, "string");
|
|
return _typeof(key) === "symbol" ? key : String(key);
|
|
} |