Prism displays the information about the variable in the command window. For example,
whatis primes logical primes(1:999)