01:42
<ljharb>
they do have a common brand now, it’s what Iterator.from provides
01:42
<ljharb>
and a userland class will be wrapped by a branded object.
15:36
<bakkot>
Iterator.from checks instanceof Iterator and returns the original object if that returns true
15:36
<bakkot>
so no, it does not provide a common brand
17:33
<snek>
without first class protocols the only ways to check if something is an actual iterator is either rely on the prototype or exhaustively interrogate its methods
18:17
<rbuckton>
This is one reason why I'm still wary of using Iterator rather than an Iterable.