Share via


Value.Type

Syntax

Value.Type(value as any) as type

About

Returns the type of the given value.

  • value: The value whose type is returned.

Example 1

Return the type of the specified number.

Usage

Value.Type(243.448)

Output

type number

Example 2

Return the type of the specified date.

Usage

Value.Type(#datetime(2010, 12, 31))

Output

type date

Example 3

Return the type of the specified record.

Usage

Value.Type([a = 1, b = 2])

Output

type record