users(include) {
    if (!this.current) {
      return Promise.reject(new Error('Only an authenticated user can list Users.'));
    }
    return DataSync.list('users', User)
      .then(users => (!include && users && this.current
        ? users.filter(user => user.uid !== this.current.uid)
        : users))
      .catch(Log.r('Reach~users'));
  }
/**
   * Get the list of registered users
   * @ignore If your users base is pretty large, this method is impossible.
   * @param {boolean} [include=false] Include current user in user's list
   * @return {Promise<User[], Error>}
   */
Get the list of registered users
@ignore If your users base is pretty large, this method is impossible.
@param {boolean} [include=false] Include current user in user's list
@return {Promise}
Get the list of registered users @ignore If your users base is pretty large this method is impossible . @param { boolean } [ include = false ] Include current user in user ' s list @return { Promise }
users(include) {
    if (!this.current) {
      return Promise.reject(new Error('Only an authenticated user can list Users.'));
    }
    return DataSync.list('users', User)
      .then(users => (!include && users && this.current
        ? users.filter(user => user.uid !== this.current.uid)
        : users))
      .catch(Log.r('Reach~users'));
  }
users ( include ) { if ( ! this . current ) { return Promise . reject ( new Error ( 'Only an authenticated user can list Users.' ) ) ; } return DataSync . list ( 'users' , User ) . then ( users => ( ! include && users && this . current ? users . filter ( user => user . uid !== this . current . uid ) : users ) ) . catch ( Log . r ( 'Reach~users' ) ) ; }
Get the list of registered users
 @ignore If your users base is pretty large, this method is impossible.
Get the list of registered users @ignore If your users base is pretty large this method is impossible .