Edoardo Luppi
07/18/2023, 8:42 AM@file:JsQualifier(
"""({
__type_plus_guard__: Object.setPrototypeOf({
[Symbol.hasInstance](instance) {
return typeof instance === 'bigint'
}
}, BigInt)
})"""
)
What does this end up doing, considering this is related to externals?turansky
07/18/2023, 12:16 PMas/is
with BigInt
typeEdoardo Luppi
07/18/2023, 12:17 PMJsQualifier
? Is that an intended use?turansky
07/18/2023, 12:17 PMBut why usingBecause it works 🙂?JsQualifier
turansky
07/18/2023, 12:18 PMIs that an intended use?No 🙂
turansky
07/18/2023, 12:19 PMEdoardo Luppi
07/18/2023, 12:20 PMturansky
07/18/2023, 12:21 PMArray
for which you need to use special checksturansky
07/18/2023, 12:23 PMas/is
for external types, but it doesn’t look like nearest futureAyfri
07/18/2023, 4:21 PMturansky
07/20/2023, 7:14 PMis
checkturansky
07/20/2023, 7:14 PMBigInt
aligned with String