has-env

Function

Check if an environment variable exists

Syntax

$exists = has-env "VAR_NAME"

check if environment variable exists using literal name

$exists = has-env $varname

check if environment variable exists using variable name

Developer Reference
Set: env
Version: 0.0.0-5
Encoding: T_OP_FN
Sizes: 2-6
Actcode: 1987006066
Set ID: 135