Skip to main content
Module

x/apex_core/blockstring.ts>printBlockString

JavaScript / Node.js support for the Apex language
Go to Latest
function printBlockString
import { printBlockString } from "https://deno.land/x/apex_core@v0.1.3/blockstring.ts";

Print a block string in the indented block form by adding a leading and trailing blank line. However, if a block string starts with whitespace and is a single-line, adding a leading blank line would strip that whitespace.

Parameters

value: string
optional
indentation = [UNSUPPORTED]
optional
preferMultipleLines = [UNSUPPORTED]

Returns

string