Skip to main content
Module

x/code_block_writer/mod.ts>default#queueIndentationLevel

Code writer for JavaScript and TypeScript code.
Go to Latest
method default.prototype.queueIndentationLevel
import { default } from "https://deno.land/x/code_block_writer@11.0.0/mod.ts";

Queues the indentation level for the next lines written.

Parameters

indentationLevel: number
  • Indentation level to queue.

Queues the indentation level for the next lines written using the provided indentation text.

Parameters

whitespaceText: string
  • Gets the indentation level from the indentation text.

Parameters

countOrText: string | number