Browse documentation

isVnode

Checks whether a value is a Valyrian.js vnode.

Table of contents

Category

Value

Import

js
import { isVnode } from "valyrian.js";

Public signature

ts
(object?: unknown): object is Vnode

Parameters

ts
object?: unknown

Result

ts
object is Vnode