Js type checker without js

Untitled script pic(17)

you can check if a value came from an arithmetic block or not
untitled script pic(28) not from an arithmetic block

untitled script pic(30) from an arithmetic block

definition for those who wanna know



for the definition, why not just use the primitive stuff? it will be faster.

I’m using a modified primitve for the if, and the number and string part can’t use primitives because they will say that some strings are numbers

yes, I know. I was asking

this primitive editing use does not seem to serve a purpose, as far as I can see. I believe your block does serve a purpose, so I would not want people’s projects to glitch from using it.

the modified primitive does not replace the regular if

just to clarify what I am saying:
if you replace the primitive, the projects would glitch.
if you use a new block, it will be slower.
I’m wondering, why use that block instead of a primitive?

how the code looks
modifying primitves just turns them into custom blocks btw

In my opinion, using the elseif option in the if <> { } @> block is more readable.

fixed, I just like it if short report blocks inline into the if

again, do you have something against using the primitive to save time?

no, but I’d rather create a block once than to waste time scrolling every time I try to edit

here, you can move this thing in a fraction of a second: