wrangler-action/node_modules/es-abstract/2020/IsPropertyKey.js
2023-08-07 15:11:15 -05:00

7 lines
202 B
JavaScript

'use strict';
// https://262.ecma-international.org/6.0/#sec-ispropertykey
module.exports = function IsPropertyKey(argument) {
return typeof argument === 'string' || typeof argument === 'symbol';
};