Skip to content

Instantly share code, notes, and snippets.

@glenjamin
Created January 15, 2016 17:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save glenjamin/a93635ae803d503b080a to your computer and use it in GitHub Desktop.
Save glenjamin/a93635ae803d503b080a to your computer and use it in GitHub Desktop.
Record Immutable is Map
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