type
Identifies the data type of a specific key in Redis, returning its string representation to clarify whether it's a string, list, set, or other type.
Instructions
Returns the string representation of the type of the value stored at key
Args: key (str): The key to check.
Returns: str: The type of key, or none when key doesn't exist
Input Schema
Name | Required | Description | Default |
---|---|---|---|
key | Yes |