doesResourceExist

Function

Given an item ID, and a resource name, check if the resource exists

  • doesResourceExist(id: string, name: string, ro: IUserRequestOptions) : Promise<boolean>

Parameters

Parameter Type Default Notes
id Required string

Item ID

name Required string

Resource name

ro Required IUserRequestOptions

Request options

Returns

boolean

Promise<boolean>

Function defined in common/src/resources/doesResourceExist.ts:12