fn: typeof
[contents]

Contents

Syntax

The syntax for typeof calls is:

f++:  
typeof(var)

n++:  
@typeof(var)

Description

The typeof function takes a single variable parameter and returns the type of the variable.

f++ example

Example of typeof being used with f++:

:=(string, str="hello, world!")
console(typeof(str))

n++ example

Example of typeof being used with n++:

@:=(string, str="hello, world!")
@console(@typeof(str))