DocumentationAmertaPayloadUtilitiesGetGlobalsFunctions

Get Cached Global

amerta


amerta / amerta/payload/utilities/getGlobals / getCachedGlobal

Function: getCachedGlobal()

getCachedGlobal(slug, depth?, locale?): () => Promise<never>

Defined in: amerta/payload/utilities/getGlobals.ts:19

Parameters

| Parameter | Type | Default value | | ------ | ------ | ------ | | slug | never | undefined | | depth | number | 0 | | locale | string | DEFAULT_LOCALE |

Returns

(): Promise<never>

Returns

Promise<never>