Skip to content

.qtk.dict

.qtk.dict.key

Return the key of a dictionary. It's an alias of key.

Parameter:

Name Type Description
dict dict A dictionary.

Returns:

Type Description
any[] The key of a dictionary.

Example:

 system "l ",getenv[`QTK],"/init.q";
 .qtk.import.loadModule["dict";`qtk];

 `a`b~.qtk.dict.key `a`b!1 2