Nsv exists

From AOLserver Wiki
Jump to: navigation, search

Man page: http://aolserver.com/docs/tcl/nsv_exists.html


NAME

nsv_exists - Test whether a key exists

SYNOPSIS

nsv_exists array key

DESCRIPTION

Test whether a key exists in the nsv array.

EXAMPLES

   % nsv_exists shared_array key1
   1

the key exists

   % nsv_exists shared_array key2
   0

the key does not exist

SEE ALSO

Thread-shared Variables

-