Type 関数Type functions
これらの関数を使用すると、型の値の作成と操作を行えます。These functions create and manipulate type values.
種類Type
関数Function | DescriptionDescription |
---|---|
Type.AddTableKeyType.AddTableKey | テーブル型にキーを追加します。Add a key to a table type. |
Type.ClosedRecordType.ClosedRecord | 指定された型は、指定されたレコード型の閉じられたバージョンを返すレコード型である必要があります (既に閉じられている場合は同じ型)The given type must be a record type returns a closed version of the given record type (or the same type, if it is already closed) |
Type.FacetsType.Facets | 種類のファセットを返します。Returns the facets of a type. |
Type.ForFunctionType.ForFunction | 指定されたものから関数型を作成します。Creates a function type from the given . |
Type.ForRecordType.ForRecord | フィールド レコードからレコード型を返します。Returns a Record type from a fields record. |
Type.FunctionParametersType.FunctionParameters | 関数型のパラメーターの名前にフィールドの値が設定されたレコードと、関連する型に設定されたフィールドの値を返します。Returns a record with field values set to the name of the parameters of a function type, and their values set to their corresponding types. |
Type.FunctionRequiredParametersType.FunctionRequiredParameters | 関数型の呼び出しに必要なパラメーターの最小数を示す数値を返します。Returns a number indicating the minimum number of parameters required to invoke the a type of function. |
Type.FunctionReturnType.FunctionReturn | 関数型によって返される型を返します。Returns a type returned by a function type. |
Type.IsType.Is | Type.IsType.Is |
Type.IsNullableType.IsNullable | NULL 許容型の場合は true、それ以外の場合は false を返します。Returns true if a type is a nullable type; otherwise, false. |
Type.IsOpenRecordType.IsOpenRecord | レコード型が OPEN かどうかを返します。Returns whether a record type is open. |
Type.ListItemType.ListItem | リスト型からアイテム型を返します。Returns an item type from a list type. |
Type.NonNullableType.NonNullable | 型から NULL 許容型以外の型を返します。Returns the non nullable type from a type. |
Type.OpenRecordType.OpenRecord | レコード型の開かれたバージョンを返します (既に開かれている場合は同じ型)。Returns an opened version of a record type, or the same type, if it is already open. |
Type.RecordFieldsType.RecordFields | レコード型のフィールドを表すレコードを返します。返されるレコード型の各フィールドには、対応する名前と値が [ Type = type, Optional = logical ] というレコードの形で含まれます。Returns a record describing the fields of a record type with each field of the returned record type having a corresponding name and a value that is a record of the form [ Type = type, Opional = logical ]. |
Type.ReplaceFacetsType.ReplaceFacets | 種類のファセットを置換します。Replaces the facets of a type. |
Type.ReplaceTableKeysType.ReplaceTableKeys | テーブル型のキーを置き換えます。Replaces the keys in a table type. |
Type.TableColumnType.TableColumn | テーブル内の列の型を返します。Returns the type of a column in a table. |
Type.TableKeysType.TableKeys | テーブル型からキーを返します。Returns keys from a table type. |
Type.TableRowType.TableRow | テーブル型から行型を返します。Returns a row type from a table type. |
Type.TableSchemaType.TableSchema | 指定したテーブルの種類の列の説明 (つまりスキーマ) を含むテーブルを返します。Returns a table containing a description of the columns (i.e. the schema) of the specified table type. |
Type.UnionType.Union | 型のリストの和集合を返します。Returns the union of a list of types. |