import { CodeEditorContext , EditorContext , SET_ACTIVE_CONTEXT } from './_types' ; export const getIsNewContextCond = ( editorContext ) => ( _ , event ) => { return event . payload . editorContext === editorContext ; } ; export const getIsContextCond = ( editorContext ) => ( context ) => { return context . activeContext === editorContext ; } ;