Example demoContext7 / Version-aligned docs
Docs lookup: Intl.Segmenter03Results
API usage
new Intl.Segmenter(locale, { granularity: "grapheme" }) segments by grapheme, suitable for typewriter slicing.
Official example
segment(input) yields an iterator of segment and index; the official example is excerpted below.
Version differences
Available across browsers since Baseline 2024; older environments fall back to Array.from code-point slicing.
"Cite docs aligned with your dependency version."
How It Works
Find current, version-specific library documentation. Open OmniMind and add the extension to your task to work with the relevant materials.
What Else Can You Do?
Find Library Documentation
Find the current library documentation and confirm this API's correct usage.
Use in OmniMind
Find an Example
Find official code examples relevant to this requirement.
Use in OmniMind
Compare Versions
Compare API changes between versions.
Use in OmniMind
How to Use
Find this extension in OmniMind, complete the required software setup or account authorization, and then use it in your task.