Segments
A Segments instance is an object that represents the segments of a specific string, subject to the locale and options of its constructing Intl.Segmenter instance. https://tc39.es/ecma402/#sec-segments-objects
t
RESCRIPT
type tsegmentData
RESCRIPT
type segmentData = {
segment: string,
index: int,
isWordLike: option<bool>,
input: string,
}containing
RESCRIPT
let containing: t => segmentDatacontainingWithIndex
RESCRIPT
let containingWithIndex: (t, int) => segmentData