Nonchalantly Performs Magic

    has-optional-chaining

    1.0.1 • Public • Published

    has-optional-chaining Version Badge

    github actions coverage dependency status dev dependency status License Downloads

    npm badge

    Determine if the JS environment has optional chaining support.

    Example

    var hasOptionalChaining = require('has-optional-chaining');
    
    hasOptionalChaining() === true; // if the environment has native optional chaining support.

    Tests

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

    Install

    npm i has-optional-chaining

    DownloadsWeekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    8.02 kB

    Total Files

    10

    Last publish

    Collaborators

    • ljharb