UNPKG

@nx/js

Version:

The JS plugin for Nx contains executors and generators that provide the best experience for developing JavaScript and TypeScript projects.

10 lines (9 loc) 348 B
/** * Determines if a given string is a valid JavaScript variable name. * @param name name of the variable to be checked * @returns result object with a boolean indicating if the name is valid and a message explaining why it is not valid */ export declare function isValidVariable(name: string): { isValid: boolean; message: string; };