This repository has been archived on 2020-11-02. You can view files and clone it, but cannot push or open issues or pull requests.
|
'use strict';
|
|
|
|
module.exports = function isPrimitive(value) {
|
|
return value === null || (typeof value !== 'function' && typeof value !== 'object');
|
|
};
|