Rev Language Reference


type - The value type of a variable

The value type of a variable.

Usage

type(RevObject x, Bool verbose)

Arguments

x : RevObject (pass by value)
A variable.
verbose : Bool (pass by value)
Show parent classes.
Default : FALSE

Return Type

Example

a <- 2
type(a)

b <- 2.0
type(b)

See Also