Merge pull request #1036 from XboxSoldier/PR-Branch

fix之fix:`get.is.virtualCard()`
This commit is contained in:
Spmario233 2024-03-07 21:19:55 +08:00 committed by GitHub
commit 7534547669
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
/**
* 是否是转化牌