HomeManualTopicsTypesSymbols

std_types::user_id/std::equal

compares two user ids for equality

Parameters

left
a user id
right
a user id

Result

success
true if the two user ids are equal

Example

getuid! $my_uid println! my_uid.to_integer

Output

1000

Topic

POSIX

Implements

std::equal compares two objects for equality

See also

std_types::user_id a POSIX user id
std_types::user_id/std::hash returns an integer hash value for a user id