Closed tengattack closed 6 years ago
Hi,
This time I add some built-in functions for cond module:
empty()
nil
strlen()
rand()
[0.0,1.0)
This may help us to achieve more kinds of jobs. For example, we can do output sample here by using rand() > 0.5
rand() > 0.5
BTW, I update the README for previous typo in #40.
Hi,
This time I add some built-in functions for cond module:
empty()
Checks if the argument isnil
strlen()
Returns the string argument's lengthrand()
Returns a pseudo-random number in[0.0,1.0)
as a float64This may help us to achieve more kinds of jobs. For example, we can do output sample here by using
rand() > 0.5
BTW, I update the README for previous typo in #40.