/*!
 * Built by Revolist OU ❤️
 */
import { EDIT_INPUT_WR } from "../../utils/consts";
// is edit input
export function isEditInput(el) {
    return !!(el === null || el === void 0 ? void 0 : el.closest(`.${EDIT_INPUT_WR}`));
}
// Type guard for EditorCtrConstructible
export function isEditorCtrConstructible(editor) {
    return typeof editor === 'function' && typeof editor.prototype === 'object';
}
