MCPcopy Index your code
hub / github.com/formatjs/formatjs / resolvedOptions

Method resolvedOptions

packages/intl-segmenter/segmenter.ts:268–278  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

266 }
267
268 resolvedOptions(): SegmenterResolvedOptions {
269 checkReceiver(this, 'resolvedOptions')
270 return {
271 ...getMultiInternalSlots(
272 __INTERNAL_SLOT_MAP__,
273 this,
274 'locale',
275 'granularity'
276 ),
277 }
278 }
279
280 static availableLocales: Set<string> = new Set(
281 Object.keys(SegmentationRules).filter(key => key !== 'root')

Callers

nothing calls this directly

Calls 2

getMultiInternalSlotsFunction · 0.85
checkReceiverFunction · 0.70

Tested by

no test coverage detected