Module: itemsExists

Methods

(inner) A Function that gets a capability list and a capability item and checks if the item is included in the capability list(capabilityList, capabilityItem) → {boolean}

Parameters:
Name Type Description
capabilityList list
capabilityItem object
Source:
Returns:
Type
boolean

(async, inner) getPotentialActionsFromList(capabilityList) → {array}

A Function that gets a capability list and converts the capability list into its expanded list and returns an array of the potential actions

Parameters:
Name Type Description
capabilityList list
Source:
Returns:

potential actions of the given capability list

Type
array