Returns the name of the current user and whether the lookup worked.
name, ok := get_username();
assert(!ok || name.count > 0);get_username :: () -> (string, success: bool)
Returns
- string
- success: bool
Returns the name of the current user and whether the lookup worked.
name, ok := get_username();
assert(!ok || name.count > 0);get_username :: () -> (string, success: bool)