// check-environment.js
// Reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis
// purpose: It's an idiomatic check to see if the script is being run in a web-page inside a web-browser or not.
export const isClient = (() =>
    typeof window !== 'undefined' || typeof document !== 'undefined')();
