Type.TableColumn

Syntax

Type.TableColumn(tableType as type, column as text) as type

About

Returns the type of the column column in the table type tableType.

Example

Return the type of the "Name" column in the Customers table.

Usage

let
    Customers = #table(
        type table [ID = Int64.Type, Name = text],
        {{1, "Contoso"}, {2, "Fabrikam"}}
    )
in
    Type.TableColumn(Value.Type(Customers), "Name")

Output

type text