← @mortar-kit/core

hasIslandsfunction

import { hasIslands } from '@mortar-kit/core'

function hasIslands(root?: ParentNode): boolean

True when the page (or root) has islands: the client entry's test for calling hydrateIslands.

Parameters

root?: ParentNode

Returns

boolean