@prismshadow/penguin-core/kernel · Low-level Kernel & Upgrade

initialDoc

function low-level
Source ↗
IMPORT import { initialDoc } from "@prismshadow/penguin-core/kernel";

Shapes a fresh (no prior state) parked document for an iface tree.

Declaration

export function initialDoc(
  iface: AnyIface,
  self: Json,
  children: { [name: string]: Json } = {},
): ParkedNode

Parameters & Return

iface

AnyIface

self

Json

children?

{ [name: string]: Json }
default{}

@returns

ParkedNode

Type Cross-References

Static signature graph within @prismshadow/penguin-core/kernel
references1 kernel type