/** * @name isBrowser * @namespace shared.is * @type Function * @platform js * @platform node * @status stable * * Check if the script is running inside a browser or not * * @return {Boolean} true if it's in a browser, false if not * * @todo tests * * @snippet __isBrowser() * * @example js * import { __isBrowser } from '@lotsof/sugar/is' * if (__isBrowser() { * // do something * } * * @since 1.0.0 * @author Olivier Bossel (https://lotsof.dev) */ export default function __isBrowser(): boolean;