/** * @name isEsm * @namespace shared.is * @type Function * @platform js * @platform node * @status stable * * Check if the current module system the code runs on "esm" module system. * * @return {Boolean} true if the current system is esm * * @snippet __isEsm() * * @todo tests * * @example js * import { __isEsm } from '@lotsof/sugar/is'; * __isEsm(); // => true * * @since 1.0.0 * @author Olivier Bossel (https://lotsof.dev) */ export default function __isEsm(): boolean;