Function
equals
equals<T extends string>( ...variableValue: RuleVariableValue<T> | [RuleVariableValue<T>], ): SimpleRule<T>Creates a rule variable that (can be passed to an auth descriptor) with the "equal" (=) operation for the provided variable. Example: equals(opCount(10))
Type Parameters
Parameters
- ...variableValue: RuleVariableValue<T> | [RuleVariableValue<T>]
the variable value to use
Returns SimpleRule<T>
a rule variable
- ...variableValue: RuleVariableValue<T> | [RuleVariableValue<T>]