Skip to content

isCSharpContextualKeyword

Returns true if the given name is a C# contextual keyword. Contextual keywords are only reserved in specific language contexts and are generally valid as identifiers.

import { isCSharpContextualKeyword } from "@alloy-js/csharp";
function isCSharpContextualKeyword(name: string): boolean;
namestring

boolean