feat: is.propertyKey
This commit is contained in:
parent
6f2b24d822
commit
efb08e4a13
2 changed files with 12 additions and 0 deletions
|
|
@ -613,6 +613,13 @@ test('is.number', t => {
|
|||
testType(t, 'number', ['integer', 'safeInteger', 'infinite']);
|
||||
});
|
||||
|
||||
test('is.propertyKey', t => {
|
||||
// ??? Unsure what is the correct syntax to `testType` multiple types. Also are the exclusion relevant?
|
||||
testType(t, 'string', ['emptyString', 'numericString']);
|
||||
testType(t, 'number', ['nan', 'integer', 'safeInteger', 'infinite']);
|
||||
testType(t, 'symbol');
|
||||
});
|
||||
|
||||
test('is.bigint', t => {
|
||||
testType(t, 'bigint');
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue