The isVar() command

isvar.png

Command Summary

Returns true if the variable is defined

Command Syntax

isVar(varname)

Menu Location

[CATALOG][I] + navigate down with arrows

Calculator Compatibility

This command works on all calculators.

Token Size

X byte(s)

Returns true if the variable inputted has a value, false otherwise.

:isVar(x)
      false
:5 -> x
:isVar(x)
      true
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Noncommercial 2.5 License.