/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
v5.0.0-next.123 */
function u(e) {
  return e != null;
}
function r(e) {
  return t(e) && n(e);
}
function t(e) {
  return e != null && typeof e == "object" && "type" in e && e.type === "feature";
}
function n(e) {
  return e?.type === "feature" && e.source?.type === "feature-layer";
}
export {
  u as i,
  r as s
};
