Skip to main content
Module

x/ts_morph/ts_morph.d.ts>TypePredicateNode#getAssertsModifier

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
method TypePredicateNode.prototype.getAssertsModifier
import { TypePredicateNode } from "https://deno.land/x/ts_morph@21.0.1/ts_morph.d.ts";

Gets the asserts modifier if it exists.

Returns

Node<ts.AssertsKeyword> | undefined