lit-ui-router-ssr / isServedViewClass
Function: isServedViewClass()
ts
function isServedViewClass(constructor): boolean;Defined in: packages/lit-ui-router-ssr/src/served-view.ts:80
Whether constructor is a served <ui-view> class — this package's, or another copy's.
Parameters
| Parameter | Type | Description |
|---|---|---|
constructor | CustomElementConstructor | undefined | the class a registry holds for a tag |
Returns
boolean