JPType

JPType

Know the type of any variable or convert it into string
Version: 2.0
Price: Free
v2.0
- Now compatible with ShiVa 2.0.
- Plugin API compiled for Mac and Linux in addition to Windows : it will provide API completion in the Script module in ShiVa Editor for each of these operating systems.

v1.4
- Optimized for ShiVa 1.9.2

v1.3
- Internal modifications to prevent eventual conflicts between packs.

v1.2
- Threads now are supported
- Fixed a minor bug with JPType.toString with some types.

v1.1
- Fixed a minor bug with JPType.toString, sometimes not returning a string.

Description

JPType is a small but very useful pack allowing you to know the type of any LUA variable.

Like LUA variables are untyped, they can contain any value, that's sometimes a problem when trying to do operation between 2 incompatible variables or when passing a parameter with a wrong type to a function of the API

Thanks to JPType, you can now know what is the type of a variable, for instance string, boolean, number etc.

JPType is available for free!