Skip to main content
function dedentBlockStringValue
import { dedentBlockStringValue } from "https://deno.land/x/graphql_deno@v15.0.0/lib/language/blockString.d.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 GraphQL spec's BlockStringValue() static algorithm.

Parameters

rawString: string

Returns

string