minca
ApiCoreFunctions

Function: commandCovers()

function commandCovers(granted, needed): boolean;

Defined in: packages/core/src/identity/ucan.ts:96

Whether a command covers another: itself, and every command under it

Parameters

ParameterType
grantedstring
neededstring

Returns

boolean

On this page