mirror of
https://github.com/cloudflare/wrangler-action.git
synced 2024-11-26 19:54:46 +01:00
8 lines
202 B
JavaScript
8 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';
|
||
|
};
|