Added once() method

This commit is contained in:
2023-12-18 22:28:48 +02:00
parent f46565f5c2
commit 331ddab544
4 changed files with 24 additions and 5 deletions

View File

@ -54,6 +54,7 @@ By default chance operators will be evaluated 48 times within a beat. You can ch
- <ic>frequently(beats?: number)</ic>: returns true 90% of the time in given number of beats
- <ic>almostAlways(beats?: number)</ic>: returns true 99% of the time in given number of beats
- <ic>always(beats?: number)</ic>: returns true. Can be handy when switching between different probabilities
- <ic>once()</ic>: returns true once, then false until the code is force evaluated (Shift+Ctrl+Enter)
Examples: