Created
January 15, 2016 17:29
-
-
Save glenjamin/a93635ae803d503b080a to your computer and use it in GitHub Desktop.
Record Immutable is Map
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Immutable = require('immutable'); | |
var FooRecord = Immutable.Record({ a: 1, b: 2 }, 'foo'); | |
Immutable.is(new FooRecord(), new Immutable.Map({a: 1, b: 2})); | |
// => true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment