jodit-pro
Version:
PRO Version of Jodit Editor
15 lines (14 loc) • 602 B
TypeScript
/*!
* Jodit Editor PRO (https://xdsoft.net/jodit/)
* See LICENSE.md in the project root for license information.
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net/jodit/pro/
*/
import type { IJElement } from "../interface";
export declare function isList(elm: IJElement | null): elm is IJElement & {
name: 'ul' | 'ol';
};
export declare function isLeaf(elm: IJElement | null): elm is IJElement & {
name: 'li';
};
export declare function isPseudoLeaf(elm: IJElement): boolean;
export declare function isSameType(leaf: IJElement, list: IJElement): boolean;