mirror of
https://github.com/google/blockly.git
synced 2026-01-05 08:00:09 +01:00
release: Merge branch 'develop' into rc/v11.0.0
This commit is contained in:
@@ -1529,8 +1529,7 @@ export class Block implements IASTNodeLocation, IDeletable {
|
||||
checks = connection.targetConnection.getCheck();
|
||||
}
|
||||
return (
|
||||
!!checks &&
|
||||
(checks.indexOf('Boolean') !== -1 || checks.indexOf('Number') !== -1)
|
||||
!!checks && (checks.includes('Boolean') || checks.includes('Number'))
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user