Merge pull request #1036 from XboxSoldier/PR-Branch
fix之fix:`get.is.virtualCard()`
This commit is contained in:
commit
7534547669
|
@ -132,7 +132,7 @@ export class Is extends Uninstantable {
|
|||
*/
|
||||
// @ts-ignore
|
||||
static virtualCard(card) {
|
||||
return !card.isCard || (!("cards" in card) || !Array.isArray(card.cards) || card.cards.length === 0);
|
||||
return (!("cards" in card) || !Array.isArray(card.cards) || card.cards.length === 0);
|
||||
}
|
||||
/**
|
||||
* 是否是转化牌
|
||||
|
|
Loading…
Reference in New Issue