Skip to content
masterclass Buddy

Upstash · Method

redis.type

TYPE tells you which Redis data type is stored at a key. It returns the type name, or none when the key does not exist.

Last updated

Syntax

TYPE <key>

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • TTL
  • UNLINK

Source: TYPE - Upstash Documentation. Checked 2026-11-03.