Skip to content

@serenity-is/corelib / isValidationRuleRegistered

Function: isValidationRuleRegistered()

isValidationRuleRegistered(name): boolean

Defined in: src/ui/helpers/validationrules.ts:90

Gets whether a validation rule can be checked now, i.e. it is registered by a function, or its class is loaded.

Parameters

name

string

The name of the rule, or the type key of its class.

Returns

boolean