Developer Preview — This project is in active development. APIs may change. Provide feedback
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:231

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.