import { getPropertyByString as n } from "@m4l/core";
function o(r) {
  return (e, t) => {
    if (t == null)
      return !1;
    const u = n(t, r);
    return Array.isArray(e) ? e.some((i) => n(i, r) === u) : n(e, r) === u;
  };
}
export {
  o as createIsOptionEqualToValue
};
