»

LJ::is_friend

LJ::is_friend — Checks to see if a user is a friend of another user.

Use

LJ::is_friend(usera, userb);

Arguments

  • usera. Source user hashref or userid.

  • userb. Destination user hashref or userid. (can be undef)

Source:

cgi-bin/ljlib.pl

Returns:

boolean; 1 if user B is a friend of user A or if A == B