It can be used to achieve a similar behavior as unwrap prop from <ContentSlot> component.

Example:

<script setup lang="ts">
const { flatUnwrap } = useUnwrap()

</script>

<template>
  <ul>
    <li v-for="(item, index) of flatUnwrap($slots.default!(), ['ul'])" :key="index">
      ☑︎
      <span><ContentSlot :use="() => item" unwrap="li" /></span>
    </li>
  </ul>
</template>

Surround

[
  {
    "title": "useContentHelpers()",
    "path": "/content-v2/composables/use-content-helpers",
    "stem": "content-v2/3.composables/4.use-content-helpers",
    "description": "Helpers to interact with the navigation object."
  },
  {
    "title": "searchContent()",
    "path": "/content-v2/composables/search-content",
    "stem": "content-v2/3.composables/7.search-content",
    "description": ""
  }
]