Skip to content
module@warp-drive/utilities/derivations

Variable concat ​

ts
const concat: ConcatDerivation;

Defined in: derivations.ts:37

A derivation for use by ReactiveResource that joins the given fields with the optional separator (or '' if no separator is provided).

Generally you should not need to import and use this function directly.

Example ​

ts
{
 *   name: 'fullName',
 *   kind: 'derived',
 *   type: 'concat',
 *   options: {
 *     fields: ['firstName', 'lastName'],
 *     separator: ' ',
 *   },
 * }

Released under the MIT License.