Socket
Socket
Sign inDemoInstall

is-registered-symbol

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-registered-symbol

Is this value a Symbol stored in the global cross-realm Symbol registry?


Version published
Weekly downloads
20
decreased by-57.45%
Maintainers
1
Weekly downloads
 
Created
Source

is-registered-symbol Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Is this value a Symbol stored in the global cross-realm Symbol registry?

Example

var isRegisteredSymbol = require('is-registered-symbol');

var assert = require('assert');

assert(!isRegisteredSymbol(null));
assert(!isRegisteredSymbol(undefined));
assert(!isRegisteredSymbol('foo'));
assert(!isRegisteredSymbol(Symbol.iterator));
assert(!isRegisteredSymbol(Symbol()));
assert(isRegisteredSymbol(Symbol.for('yogurt')));

Tests

Simply clone the repo, npm install, and run npm test

Keywords

FAQs

Package last updated on 25 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc