Skip to main content
Module

x/deno2node/src/deps.deno.ts>ConditionalExpression

Compile your Deno project to run on Node.js.
Go to Latest
class ConditionalExpression
extends ConditionalExpressionBase<ts.ConditionalExpression>
import { ConditionalExpression } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.ts";

Methods

getColonToken(): Node<ts.ColonToken>

Gets the colon token of the conditional expression.

Gets the condition of the conditional expression.

getParent(): NodeParentType<ts.ConditionalExpression>
getParentOrThrow(message?: string | (() => string)): NonNullable<NodeParentType<ts.ConditionalExpression>>
getQuestionToken(): Node<ts.QuestionToken>

Gets the question token of the conditional expression.

Gets the when false expression of the conditional expression.

Gets the when true expression of the conditional expression.