hasIslandsfunction
import { hasIslands } from '@mortar-kit/core'
function hasIslands(root?: ParentNode): booleanTrue when the page (or root) has islands: the client entry's test for calling hydrateIslands.
Parameters
root?: ParentNode
Returns
boolean