Redis.exists

Test if the specified keys exist. The command returns the number of keys exist. Time complexity: O(N) @param keys @return Integer reply, specifically: an integer greater than 0 if one or more keys exist, 0 if none of the specified keys exist.

  1. Long exists(string[] keys)
    class Redis
    Long
    exists
    (
    string[] keys...
    )
  2. alias exists = BinaryRedis.exists
  3. bool exists(string key)

Meta