Skip to main content

Type.TableRow

Returns the row type of the table type.

Syntax

Type.TableRow(
table as type
) as type

Remarks

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

Examples

Example #1

Return the row type information for a simple table.

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

Result:

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

Category

Type