IsString(TokenKind) Method

Definition

Namespace Tomlyn.Syntax
Assembly Tomlyn.dll

Checks if the specified kind is a string.

public static bool IsString(this TokenKind kind)

Parameters

kind
TokenKind

A token kind

Returns

Boolean
true if the specified kind is a string