methodRedisClient.pttlpttl(key: KeyLike): Promise<number>;Get the time to live for a key in milliseconds@param keyThe key to check@returnsPromise that resolves with the TTL in milliseconds, or -1 if the key has no expiration, or -2 if the key doesn't existReferenced typestype KeyLike = string | ArrayBufferView | Blob
Promise that resolves with the TTL in milliseconds, or -1 if the key has no expiration, or -2 if the key doesn't exist