共计 149 个字符,预计需要花费 1 分钟才能阅读完成。
Write your normal types in here
type A<T> = T extends string ? true : false;
Write your types as functions
function A(T) {if (T extends string) {return true;} else {return false;}
}
正文完
共计 149 个字符,预计需要花费 1 分钟才能阅读完成。
Write your normal types in here
type A<T> = T extends string ? true : false;
Write your types as functions
function A(T) {if (T extends string) {return true;} else {return false;}
}