公告板
版本库
filestore
活动
搜索
登录
main
/
TCM_CharacterLibrary
中医人物知识数据库-外包项目
概况
操作记录
提交次数
目录
文档
派生
对比
blame
|
历史
|
原始文档
'firstSubmit'
mh-two-thousand-and-two
2024-03-25
b8c93990f3fa5e50a8aca16bdc9c2758168aa0fd
[TCM_CharacterLibrary.git]
/
node_modules
/
vue
/
src
/
types
/
utils.ts
1
2
3
// If the type T accepts type "any", output type Y, otherwise output type N.
// https://stackoverflow.com/questions/49927523/disallow-call-with-any/49928360#49928360
export type IfAny<T, Y, N> = 0 extends 1 & T ? Y : N