RichText/Archived/Rooster/Rooster.gcomp/Support/node_modules/roosterjs/dist/rooster-amd.js
/**
 * Checks if node1 is after node2
 * @param node1 The node to check if it is after another node
 * @param node2 The node to check if another node is after this one
 * @returns True if node1 is after node2, otherwise false
 */
Checks if node1 is after node2
@param node1 The node to check if it is after another node
@param node2 The node to check if another node is after this one
@returns True if node1 is after node2, otherwise false
Checks if node1 is after node2 @param node1 The node to check if it is after another node @param node2 The node to check if another node is after this one @returns True if node1 is after node2 otherwise false
function isNodeAfter(node1, node2) {
    return !!(node1 &&
        node2 &&
        (node2.compareDocumentPosition(node1) & 4 ) ==
            4 );
}
function isNodeAfter ( node1 , node2 ) { return ! ! ( node1 && node2 && ( node2 . compareDocumentPosition ( node1 ) & 4 ) == 4 ) ; }
Checks if node1 is after node2
 @param node1 The node to check if it is after another node
 @param node2 The node to check if another node is after this one
 @returns True if node1 is after node2, otherwise false
Checks if node1 is after node2 @param node1 The node to check if it is after another node @param node2 The node to check if another node is after this one @returns True if node1 is after node2 otherwise false
/* Following */ /* Following */