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.
keksAccountGUI/node_modulesOLD/@babel/runtime/helpers/esm/toPropertyKey.js
2019-08-11 20:48:02 +02:00

6 lines
No EOL
232 B
JavaScript

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);
}