/**
 * Checks whether a given VNode is a render-vialble element.
 */
export function isValidVNodeElement(input: any): boolean {
  return (
    input
    && (typeof input.type === 'string'
      || typeof input.type === 'object'
      || typeof input.type === 'function')
  )
}
