@public
function
useListFormat
()
Returns an instance of Intl.ListFormat
that uses the currently selected locale, and enables language-sensitive list formatting.
Import
import {useListFormat} from 'sanity'
Signature
function useListFormat(options: UseListFormatOptions): Intl.ListFormat
function useListFormat(options: UseListFormatOptions): Intl.ListFormat
Returns
Intl.ListFormat
Intl.ListFormat
Instance of Intl.ListFormat