Type Functions

Type.ForFunction

Syntax Type.ForFunction(signature as record, min as number) as type Description Creates a function type from …

Type.TableColumn

Syntax Type.TableColumn(tableType as type, column as text) as type Description Returns the type of the …

Type.ListItem

Syntax Type.ListItem(type as type) as type Description Returns an item type from a list type. …

Type.IsOpenRecord

Syntax Type.IsOpenRecord(type as type) as logical Description Returns a logical indicating whether a record type …

Type.TableKeys

Syntax Type.TableKeys(tableType as type) as list Description Returns the possibly empty list of keys for …

Type.FunctionParameters

Syntax Type.FunctionParameters(type as type) as record Description Returns a record with field values set to …

Type.AddTableKey

Syntax Type.AddTableKey(table as type, columns as list, isPrimary as logical) as type Description Adds a …

Type.Facets

Syntax Type.Facets(type as type) as record Description Returns a record containing the facets of type …

Type.TableRow

Syntax Type.TableRow(table as type) as type Description Type.TableRow Reference Data https://docs.microsoft.com/en-us/powerquery-m/power-query-m-function-reference Power Query M Functions …

Type.OpenRecord

Syntax Type.OpenRecord(type as type) as type Description Returns an opened version of the given record …

Type.Is

Syntax Type.Is(type1 as type, type2 as type) as logical Description Type.Is Reference Data https://docs.microsoft.com/en-us/powerquery-m/power-query-m-function-reference Power …

Type.ReplaceFacets

Syntax Type.ReplaceFacets(type as type, facets as record) as type Description Replaces the facets of type …

Type.FunctionRequiredParameters

Syntax Type.FunctionRequiredParameters(type as type) as number Description Returns a number indicating the minimum number of …

Type.ClosedRecord

Syntax Type.ClosedRecord(type as type) as type Description Returns a closed version of the given record …

Type.NonNullable

Syntax Type.NonNullable(type as type) as type Description Returns the non nullable type from the type. …

Type.ReplaceTableKeys

Syntax Type.ReplaceTableKeys(tableType as type, keys as list) as type Description Returns a new table type …

Type.IsNullable

Syntax Type.IsNullable(type as type) as logical Description Returns true if a type is a nullable …

Type.ForRecord

Syntax Type.ForRecord(fields as record, open as logical) as type Description Returns a type that represents …

Type.RecordFields

Syntax Type.RecordFields(type as type) as record Description Returns a record describing the fields of a …

Type.TableSchema

Syntax Type.TableSchema(tableType as type) as table Description Returns a table describing the columns of tableType. …

Type.Union

Syntax Type.Union(types as list) as type Description Returns the union of the types in types. …

Type.FunctionReturn

Syntax Type.FunctionReturn(type as type) as type Description Returns a type returned by a function type. …