/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
function i(o, t, n) {
  if (!t)
    throw new Error("`view` is not defined. Cannot go to viewpoint.");
  return n ? n(t, o) : t.goTo(o.target, o.options);
}
export {
  i as c
};
