Sha256: 3230295e3cd7fa6d949d16bd4fbd2d076146cc0b9fa61e5a94bf0aa8d8a40070

Contents?: true

Size: 201 Bytes

Versions: 1

Compression:

Stored size: 201 Bytes

Contents

var _typeof = require("../helpers/typeof");

function _toPropertyKey(key) {
  if (_typeof(key) === "symbol") {
    return key;
  } else {
    return String(key);
  }
}

module.exports = _toPropertyKey;

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
condenser-0.0.4 lib/condenser/processors/node_modules/@babel/runtime/helpers/toPropertyKey.js