I was reading the vue-next source code, and came across a line I had a little trouble with. I figure this is because I am new to typescript.
Is this a function? What is it doing?
const isComment = (node: Node): node is Comment =>
node.nodeType === DOMNodeTypes.COMMENT