Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/graphql_ts/src/language/blockString.d.ts>dedentBlockStringValue

A reference implementation of GraphQL for JavaScript
Latest
function dedentBlockStringValue
import { dedentBlockStringValue } from "https://deno.land/x/graphql_ts@v15.0.0/src/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