UNPKG

@stryke/convert

Version:

A utility package that helps convert between different data types.

8 lines (7 loc) 217 B
/** * Converts `value` to a string key if it's not a string or symbol. * * @param value - The value to inspect. * @returns Returns the key. */ export declare function toStringKey(value: number): string | symbol;