File size: 202 Bytes
5641073
 
 
 
 
 
 
1
2
3
4
5
6
7
8
'use strict';

// https://262.ecma-international.org/6.0/#sec-ispropertykey

module.exports = function IsPropertyKey(argument) {
	return typeof argument === 'string' || typeof argument === 'symbol';
};