Changeset 0c6b92a for imaps-frontend/node_modules/es-to-primitive/helpers
Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/es-to-primitive/helpers/isPrimitive.js
rd565449 r0c6b92a 1 1 'use strict'; 2 2 3 /** @type {(value: unknown) => value is null | undefined | string | symbol | number | boolean | bigint} */ 3 4 module.exports = function isPrimitive(value) { 4 5 return value === null || (typeof value !== 'function' && typeof value !== 'object');
Note:
See TracChangeset
for help on using the changeset viewer.