Type alias Condition<T>Alpha
Condition<T>: {
evaluate: ((subject: T, params: any) => boolean);
id: string;
type: string;
}
Type declaration
-
evaluate: ((subject: T, params: any) => boolean)
-
- (subject: T, params: any): boolean
-
Returns boolean
-
id: string
-
type: string
This interface defines callbacks intended to be registered to the Condition registry