Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Table.ColumnsOfType(table as table, listOfTypes as list) as list
Returns a list with the names of the columns from table table
that match the types specified in listOfTypes
.
Return the names of columns of type Number.Type from the table.
Usage
Table.ColumnsOfType(
Table.FromRecords(
{[a = 1, b = "hello"]},
type table[a = Number.Type, b = Text.Type]
),
{type number}
)
Output
{"a"}