export * from './collections' /** * Are we inside the Gutenberg Block Editor? * * @return {boolean} True if inside the Gutenberg Block Editor, false if not (e.g. in the frontend). */ export const isEditor = () => typeof window.wp !== 'undefined' && typeof window.wp.editor !== 'undefined'