UNPKG
grule
Version:
latest (0.1.1)
0.1.1
0.1.0
0.1.0-alpha.9
0.1.0-alpha.8
0.1.0-alpha.7
0.1.0-alpha.6
0.1.0-alpha.5
0.1.0-alpha.4
0.1.0-alpha.3
0.1.0-alpha.2
0.1.0-alpha.1
0.0.0
A simple and powerful mechanism for validating rules in JSON.
github.com/hiukky/grule
hiukky/grule
grule
/
dist
/
lib
/
event.d.ts
12 lines
(11 loc)
•
207 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
export
declare
class
Event
{
constructor
(
);
/** *
@method
when
* *
@desc
When a condition is "true". * *
@param
result
*/
when
(
result
:
boolean
):
Promise
<
boolean
>; }