@technobuddha > library > Array > Operations
Type Alias: ConjoinOptions
ts
type ConjoinOptions = {
conjunction?: string;
oxford?: boolean;
separator?: string;
};Defined in: conjoin.ts:9
Options for creating a coordinated list with conjoin
Properties
| Property | Type | Default value | Description | Defined in |
|---|---|---|---|---|
conjunction? | string | 'and' | Conjunction to insert in the last position | src/conjoin.ts:14 |
oxford? | boolean | true | If true, use the oxford comma | src/conjoin.ts:19 |
separator? | string | ',' | String used to separate values | src/conjoin.ts:24 |