Skip to content

Commit

Permalink
Replace uses of the Type macro with is-a tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiasBuelens committed Nov 27, 2024
1 parent 80dfbbe commit 1391f21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -6881,9 +6881,9 @@ The following abstract operations are a grab-bag of utilities.
<dfn abstract-op lt="CanCopyDataBlockBytes">CanCopyDataBlockBytes(|toBuffer|, |toIndex|,
|fromBuffer|, |fromIndex|, |count|)</dfn> performs the following steps:

1. Assert: [$Type$](|toBuffer|) is Object.
1. Assert: |toBuffer| [=is an Object=].
1. Assert: |toBuffer| has an \[[ArrayBufferData]] internal slot.
1. Assert: [$Type$](|fromBuffer|) is Object.
1. Assert: |fromBuffer| [=is an Object=].
1. Assert: |fromBuffer| has an \[[ArrayBufferData]] internal slot.
1. If |toBuffer| is |fromBuffer|, return false.
1. If ! [$IsDetachedBuffer$](|toBuffer|) is true, return false.
Expand Down

0 comments on commit 1391f21

Please sign in to comment.