Mustafif / MufiZ

Mufi Lang with Ziggyness
GNU General Public License v2.0
1 stars 0 forks source link

Helpful Boolean Macros #23

Closed Mustafif closed 2 months ago

Mustafif commented 2 months ago

When it comes to type checking, we have a lot of if(!IS_ARRAY(args[0) && !IS_LINKEDLIST(args[0])), for example, that can better be handled by a single macro to check if we explicitly only want list, array, or collection types. Got it, here's the updated list with the items inside each category enumerated:

Mustafif commented 2 months ago

Completed in https://github.com/Mustafif/MufiZ/commit/5585a50607b38a10c02d35454b5abb48754b4d43