isServicesDirectoryDisabled

Function

Checks if a server's services directory is disabled. Consider hoisting this to RESTJS

Checks if a server's services directory is disabled. Consider hoisting this to RESTJS

  • isServicesDirectoryDisabled(idOrItem: string | IItem, requestOptions: IRequestOptions) : Promise<boolean>

Parameters

Parameter Type Default Notes
idOrItem Required string | IItem

A feature service ID or item

requestOptions Required IRequestOptions

Request options

Available requestOptions

Property Type Notes

Returns

Promise that resolves boolean

Promise<boolean>

Function defined in common/src/items/is-services-directory-disabled.ts:12