ApiCoreFunctions
Function: noteCovers()
function noteCovers(note, required): boolean;Defined in: packages/core/src/identity/ucan.ts:356
Whether a note grants a requirement: its command covers it, its subject is the account or the space, and its policy holds for the arguments. Reads the token only; whether it is a sound note is verifyNote's question.
Parameters
| Parameter | Type |
|---|---|
note | Delegation |
required | Requirement |
Returns
boolean