adding toss function to helpers
This commit is contained in:
@ -13,6 +13,12 @@ type CompletionDatabase = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const completionDatabase: CompletionDatabase = {
|
const completionDatabase: CompletionDatabase = {
|
||||||
|
toss: {
|
||||||
|
name: "toss",
|
||||||
|
category: "randomness",
|
||||||
|
description: "Toss a coin, true or false",
|
||||||
|
example: "toss() : log('heads')"
|
||||||
|
},
|
||||||
attack: {
|
attack: {
|
||||||
name: "attack",
|
name: "attack",
|
||||||
category: "synthesis",
|
category: "synthesis",
|
||||||
|
|||||||
Reference in New Issue
Block a user