source: node_modules/es-toolkit/dist/predicate/isPrimitive.mjs

Last change on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago

Added visualizations

  • Property mode set to 100644
File size: 145 bytes
RevLine 
[a762898]1function isPrimitive(value) {
2 return value == null || (typeof value !== 'object' && typeof value !== 'function');
3}
4
5export { isPrimitive };
Note: See TracBrowser for help on using the repository browser.