Skip to main content
Latest
function printBlockString
import { printBlockString } from "https://deno.land/x/graphql_deno@v15.0.0/lib/language/blockString.js";

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
optional
indentation = [UNSUPPORTED]
optional
preferMultipleLines = [UNSUPPORTED]