Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
method CodeBlockWriter.prototype.isOnFirstLineOfBlock
import { CodeBlockWriter } from "https://deno.land/x/dnt@0.34.0/lib/mod.deps.ts";

Gets if the writer is currently on the first line of the text, block, or indentation block.

Returns

boolean