Table of Contents

Method IsValidBraceCompletionAtPosition

Namespace
Alternet.Common.TypeScript.Compiler
Assembly
Alternet.Common.TypeScript.v9.dll

IsValidBraceCompletionAtPosition(string, Point, char)

Determines if close brace code completion is expected.

public bool IsValidBraceCompletionAtPosition(string fileName, Point position, char openBrace)

Parameters

fileName string
position Point

The position of the caret.

openBrace char

Character specifying open brace.

Returns

bool

True if open brace can be completed; otherwise false.