export function isObject ( value ) { return ! ! value && typeof value === 'object' ; } export function isEqual ( first , second ) { return Object . entries ( first ) . every ( ( [ key , value ] ) => ( isObject ( value ) ? isEqual ( second [ key ] , value ) : second [ key ] === value ) ) ; }