Appearance
function exist(key: string): boolean
根据key值判断Cookie中是否存在键值对
exist('test');
key
string
key值
boolean