Option
language of chunks
The language whose sentence rules are used.
Value
The code of a language that the runtime has sentence rules for. 'en' when left out.
Example
TypeScript
const parts = chunks(text, { cut: 'sentence', language: 'tr' })Errors
code.T0002: a value that is not allowed.