本文整理匯總了TypeScript中immutable-class.isInstanceOf函數的典型用法代碼示例。如果您正苦於以下問題:TypeScript isInstanceOf函數的具體用法?TypeScript isInstanceOf怎麽用?TypeScript isInstanceOf使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。
在下文中一共展示了isInstanceOf函數的10個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的TypeScript代碼示例。
示例1: isDimension
static isDimension(candidate: any): candidate is Dimension {
return isInstanceOf(candidate, Dimension);
}
示例2: isLinkViewConfig
static isLinkViewConfig(candidate: any): candidate is LinkViewConfig {
return isInstanceOf(candidate, LinkViewConfig);
}
示例3: isSplitCombine
static isSplitCombine(candidate: any): candidate is SplitCombine {
return isInstanceOf(candidate, SplitCombine);
}
示例4: isLinkItem
static isLinkItem(candidate: any): candidate is LinkItem {
return isInstanceOf(candidate, LinkItem);
}
示例5: isStage
static isStage(candidate: any): candidate is Stage {
return isInstanceOf(candidate, Stage);
}
示例6: isExternalView
static isExternalView(candidate: any): candidate is ExternalView {
return isInstanceOf(candidate, ExternalView);
}
示例7: isSortOn
static isSortOn(candidate: any): candidate is SortOn {
return isInstanceOf(candidate, SortOn);
}
示例8: isHighlight
static isHighlight(candidate: any): candidate is Highlight {
return isInstanceOf(candidate, Highlight);
}
示例9: isStage
static isStage(candidate: any): boolean {
return isInstanceOf(candidate, Stage);
}
示例10: isHighlight
static isHighlight(candidate: any): boolean {
return isInstanceOf(candidate, Highlight);
}