Determines whether the iOS device ships with a Dynamic Island cutout.
const result = hasDynamicIsland(); Copy
const result = hasDynamicIsland();
Determines whether the iOS device ships with a Dynamic Island cutout.