RichText/Archived/Rooster/Rooster.gcomp/Support/node_modules/roosterjs/dist/rooster-amd.js
/**
 * Checks if the node is a block like element. Block like element are usually those P, DIV, LI, TD etc.
 * @param node The node to check
 * @returns True if the node is a block element, otherwise false
 */
Checks if the node is a block like element. Block like element are usually those P, DIV, LI, TD etc.
@param node The node to check
@returns True if the node is a block element, otherwise false
Checks if the node is a block like element . Block like element are usually those P DIV LI TD etc . @param node The node to check @returns True if the node is a block element otherwise false
function isBlockElement(node) {
    var tag = getTagOfNode_1.default(node);
    return !!(tag &&
        (BLOCK_DISPLAY_STYLES.indexOf(node.style.display) >= 0 ||
            BLOCK_ELEMENT_TAGS.indexOf(tag) >= 0));
}
function isBlockElement ( node ) { var tag = getTagOfNode_1 . default ( node ) ; return ! ! ( tag && ( BLOCK_DISPLAY_STYLES . indexOf ( node . style . display ) >= 0 || BLOCK_ELEMENT_TAGS . indexOf ( tag ) >= 0 ) ) ; }
Checks if the node is a block like element.
Checks if the node is a block like element .