Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deco/blocks/section.ts>isSection

deco is the edge-native site editor and app framework for building dynamic, high-performance sites with a built-in visual admin UI.
Go to Latest
variable isSection
import { isSection } from "https://deno.land/x/deco@1.35.3/blocks/section.ts";

type

<K extends keyof TManifest["sections"], Sec extends TManifest["sections"][K] extends { default: (props: infer Props) => JSX.Element | null; } ? PreactComponent<JSX.Element, Props> : unknown, TManifest extends DecoManifest = Manifest>(s: Sec | Section, section: K) => s is Sec