Skip to main content

Function: getRepositoryHookEventEntries()

function getRepositoryHookEventEntries(
root: JsonValue | undefined
): readonly (readonly [string, JsonValue][]);

Defined in: _internal/repository-hooks-json.ts:155

Get key/value entries from the hooks object when present.

Parameters​

ParameterType
rootJsonValue

Returns​

readonly readonly [string, JsonValue][]