Finished basic docs

This commit is contained in:
Stefan Zermatten
2022-09-05 14:36:39 +02:00
parent f0e7253374
commit dbc5f7253f
13 changed files with 224 additions and 56 deletions

View File

@@ -112,10 +112,10 @@ export default {
}
},
'resolve': {
comment: 'Forces the given calcultion to resolve into a number',
comment: 'Forces the given calcultion to resolve into a number, even in calculations where it would usually keep the unknown values as is',
examples: [
{input: 'resolve(someUndefinedVariable + 3 + 4)', result: '7'},
{input: 'resolve(3d6)', result: '2'},
{input: 'resolve(1d6)', result: '4'},
],
arguments: ['parseNode'],
fn: function resolveFn(node){