# VariableHelpersModule
Provides helper functions to inspect variable types.
## Functions
### typeof
typeof(value) -> stringvalue: "int", "double", "float", "string", "bool", "object", "null", or "undefined".value: Any VoidScript value.Signature: typeof(value, typeName) -> bool
value matches typeName.value: Any VoidScript value.typeName (string): The type name to compare.typeName not a string.## Example
```vs
var x = 42;
printnl(typeof(x)); // int
printnl(typeof(x, "int")); // true
printnl(typeof(x, "string")); // false
var s = "hello";
printnl(typeof(s)); // string
printnl(typeof(s, "bool")); // false
```