is-immutable
Exposes the isImmutable
function from immutable-js, but without the rest of the Immutable library.Usage
import isImmutable from 'is-immutable';
isImmutable(someObj); // => boolean
isImmutable
function from immutable-js, but without the rest of the Immutable library.import isImmutable from 'is-immutable';
isImmutable(someObj); // => boolean
Bytes is a JavaScript newsletter you'll actually enjoy reading.
Delivered every Monday, for free.