Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

util,assert: expose util.isDeepStrictEqual() #16084

Closed
wants to merge 1 commit into from

Commits on Oct 13, 2017

  1. util,assert: expose util.isDeepStrictEqual()

    Provide `util.isDeepStrictEqual()` that works like
    `assert.deepStrictEqual()` but returns a boolean rather than throwing an
    error.
    
    Several userland modules have needed this functionality and implemented
    it independently. This functionality already exists in Node.js core, so
    this exposes it for use by modules. Modules that have needed this
    functionality include `lodash`, `concordance` (used by `ava`), and
    `qunit`.
    Trott committed Oct 13, 2017
    Configuration menu
    Copy the full SHA
    39ee3bd View commit details
    Browse the repository at this point in the history