Editar

Compartir a través de


JSScanner.IsKeyword(JSToken) Method

Definition

Determines whether the specified token is a keyword in the JScript language.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 static bool IsKeyword(Microsoft::JScript::JSToken token);
public static bool IsKeyword (Microsoft.JScript.JSToken token);
static member IsKeyword : Microsoft.JScript.JSToken -> bool
Public Shared Function IsKeyword (token As JSToken) As Boolean

Parameters

token
JSToken

The token to check.

Returns

true if the token is a keyword; otherwise, false.

Applies to

See also