Nutritious Pancake Mountain

    is-well-known-symbol

    1.0.0 • Public • Published

    is-well-known-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 isWellKnownSymbol = require('is-well-known-symbol');
    
    var assert = require('assert');
    
    assert(!isWellKnownSymbol(null));
    assert(!isWellKnownSymbol(undefined));
    assert(!isWellKnownSymbol('foo'));
    assert(!isWellKnownSymbol(Symbol()));
    assert(!isWellKnownSymbol(Symbol.for('yogurt')));
    assert(isWellKnownSymbol(Symbol.iterator));

    Tests

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

    Install

    npm i is-well-known-symbol

    DownloadsWeekly Downloads

    4

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    9.39 kB

    Total Files

    9

    Last publish

    Collaborators

    • ljharb