And another thing, is there a way to check during ...
# getting-started
t
And another thing, is there a way to check during execution whether we're in the
preview
or in the
up
phase? Some sort of context maybe?
l
You have the
isDryRun
function on the Pulumi runtime. Here is the link to the NodeJS version of the call: https://www.pulumi.com/docs/reference/pkg/nodejs/pulumi/pulumi/runtime/#isDryRun
1