Skip to content

TypeScript API / @contentia/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