We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
set-constant
Sometimes it happens that a constant needs to be set, for which parent object(s) must also be created.
For example, if I want to set foo.bar to a trueFunc, I have to do the following:
foo.bar
trueFunc
! First, create the 'foo' object example.com#%#//scriptlet('set-constant', 'foo', 'emptyObj') ! Then, create the property example.com#%#//scriptlet('set-constant', 'foo.bar', 'trueFunc')
However, perhaps the 2nd rule would be enough by itself:
foo
bar
The text was updated successfully, but these errors were encountered:
maximtop
No branches or pull requests
Sometimes it happens that a constant needs to be set, for which parent object(s) must also be created.
For example, if I want to set
foo.bar
to atrueFunc
, I have to do the following:However, perhaps the 2nd rule would be enough by itself:
foo
exists and is an object, simply set thebar
property totrueFunc
foo
does not exist, simply create it as an empty object and then set thebar
propfoo
exists but is not an object, there are two options:bar
propThe text was updated successfully, but these errors were encountered: