haslabels(x), x a variable that is not NULL. |
Usage with example
haslabels(x) is True if and only if variable x has coordinate labels.
Example;
Cmd> x <- yourMacro(y)
Cmd> if (haslabels(y)){
x <- matrix(x,labels:structure("",getlabels(y,2)))}
Cross references
See topics 'labels', getlabels().
haslabels() is implemented as a pre-defined macro.