release: Merge branch 'develop' into rc/v11.0.0

This commit is contained in:
Christopher Allen
2024-03-18 19:57:04 +00:00
40 changed files with 69 additions and 71 deletions

View File

@@ -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'))
);
}