fabric
Version:
Object model for HTML5 canvas, and SVG-to-canvas parser. Backed by jsdom and node-canvas.
10 lines (9 loc) • 304 B
JavaScript
import { _typeof } from "./typeof.mjs";
import { toPrimitive } from "./toPrimitive.mjs";
//#region \0@oxc-project+runtime@0.122.0/helpers/toPropertyKey.js
function toPropertyKey(t) {
var i = toPrimitive(t, "string");
return "symbol" == _typeof(i) ? i : i + "";
}
//#endregion
export { toPropertyKey };