All files / src/TypeGuards isIChildNodeLike.ts

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