Skip to content

@salesforce/b2c-tooling-sdk / scaffold / prependContent

Function: prependContent() ​

prependContent(existingContent, newContent): string

Defined in: packages/b2c-tooling-sdk/src/scaffold/merge.ts:241

Prepend content to the beginning of existing content

Parameters ​

existingContent ​

string

The existing text content

newContent ​

string

Content to prepend

Returns ​

string

Updated content

Released under the Apache-2.0 License.