Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 936 Bytes

File metadata and controls

38 lines (25 loc) · 936 Bytes
code type title description
true
page
adminExists
Checks that an administrator account exists.

adminExists

Checks that an administrator account exists.


adminExists([options]);

Arguments Type Description
options
object
Query options

Options

Additional query options

Property Type
(default)
Description
queuable
boolean

(true)
If true, queues the request during downtime, until connected to Kuzzle again

Resolve

Resolves to a boolean set to true if an admin exists and false if it does not.

Usage

<<< ./snippets/admin-exists.js