import { ComparableValues } from '@typed/lambda' ; import { Nothing } from '@typed/maybe' ; import { CommentVNode , VNode , VNodeType } from '../../model/VNode' ; export function comment ( comment , key ? ) { return { type : VNodeType . Comment , comment , key , node : { current : Nothing } , } ; } export function isComment ( vNode ) { return vNode . type === VNodeType . Comment ; }