[][src]Function dishub::ops::github::user_exists

pub fn user_exists(uname: &str, tokens: &AppTokens) -> Result<bool, Error>

Check whether a user with the specified name exists.

Examples

let response = user_exists("nabijaczleweli", &tokens);
assert_eq!(response, Ok(true));