Type.TableRow

Syntax

Type.TableRow(table as type) as type

About

Returns the row type of the specified table type. The result will always be a record type.

Example 1

Return the row type information for a simple table.

Usage

let
    tableRowType = Type.TableRow(Value.Type(#table({"Column1"}, {})))
in
    Type.RecordFields(tableRowType)

Output

[Column1 = [Type = type any, Optional = false]]