Skip to content

TypeScript API / @laikacms/astro/loader / keyOf

Function: keyOf() ​

ts
function keyOf(id, collection): string;

The inverse of entryIdOf for the default derivation.

Parameters ​

ParameterType
idstring
collectionstring

Returns ​

string

Released under the MIT License.