Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

A reference implementation of GraphQL for JavaScript
Latest
import * as graphqlTs from "https://deno.land/x/graphql_ts@v15.0.0/src/language/blockString.d.ts";

Functions

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.

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.