mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-27 15:30:57 +00:00
7 lines
227 B
JavaScript
7 lines
227 B
JavaScript
import _typeof from "./typeof.js";
|
|
import toPrimitive from "./toPrimitive.js";
|
|
function toPropertyKey(t) {
|
|
var i = toPrimitive(t, "string");
|
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
}
|
|
export { toPropertyKey as default }; |