import * as is from "ramda/src/is" ; import { Map } from "../../../types" ; export default function assertValidStore ( scope , current ) { if ( ! is ( Object , current ) ) throw new Error ( scope + ": Expected current to be an object" ) ; }