Sorry. I donât know what you mean by that. Can you like tell me what you kinda want in like JS/TS or block format?
So you have isSprite() right could you make it work as a is(type)() so then you could input sprite number stri by and more
1 Like
like isType(6, number)?
I canât make a truly generic is(type) block because MakeCode doesnât support that kind of type syntax. I could make a generic is(value, type) using a type selector, but it would still only support the types the extension defines. For Blocks, Iâm keeping helpers like isSprite, isNumber, isString, etc. because theyâre clearer and work better with MakeCodeâs type system.
1 Like