Scratch Documentation, Version 3.0
. Casting4 Documented Misconceptions
CompareBooleanToConstant
To test whether an expression evaluates to true or false, one must compare it to a constantEqualityOperatorComparesListIdentities
(list a) = (list b) compares the identities of list a and list bEqualityOperatorComparesOnlyTypes
() = () compares only the types of its operandsListsHomogeneous
All items in a list must have the same type