method ValidateTransformation.prototype.isCommentOrEmpty
ValidateTransformation.prototype.isCommentOrEmpty(
ast: AnyRule | null,
ruleText: string,
): boolean

Check if the parsed rule is a comment or empty.

Parameters

ast: AnyRule | null
ruleText: string

Return Type

boolean

Usage

import { ValidateTransformation } from ".";