Skip to main content

CSharpFacts.IsBooleanLiteralExpression(SyntaxKind) Method

Containing Type: CSharpFacts

Assembly: Roslynator.CSharp.dll

Returns true if a syntax of the specified kind is true or false literal expression.

public static bool IsBooleanLiteralExpression(Microsoft.CodeAnalysis.CSharp.SyntaxKind kind)

Parameters

kind SyntaxKind

Returns

Boolean