Skip to main content
Module

x/apex_core/blockstring.ts>dedentBlockStringValue

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

Produces the value of a block string from its parsed raw value, similar to CoffeeScript's block string, Python's docstring trim or Ruby's strip_heredoc.

This implements the Apex spec's BlockStringValue() static algorithm.

Parameters

rawString: string

Returns

string