@cearth/tools
Version:
CEarth 的 工具库
50 lines (24 loc) • 602 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@cearth/tools](./tools.md) > [Xyz\_Hpr](./tools.xyz_hpr.md) > [toKey](./tools.xyz_hpr.tokey.md)
## Xyz\_Hpr.toKey() function
**Signature:**
```typescript
function toKey(value: any): string | undefined;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
value
</td><td>
any
</td><td>
</td></tr>
</tbody></table>
**Returns:**
string \| undefined