All files / src/TypeGuards isIElementLike.ts

50% Statements 1/2
0% Branches 0/2
0% Functions 0/1
50% Lines 1/2
1 2 3 4 5 6          1x
import IElementLike from '../NodeLike/ParentNodeLike/ElementLike/IElementLike';
function isIElementLike(node: any): node is IElementLike {
  return node && node.nodeType === 1;
}
 
export default isIElementLike;