473 B
473 B
MercanRey6.js — hasTag() (satır 78)
function hasTag(profile, tag)
{
if (profile == null || profile.tags == null)
{
return false;
}
var size = listSize(profile.tags);
for (var i = 0; i < size; i++)
{
if (String(listGet(profile.tags, i)) === tag)
{
return true;
}
}
return false;
}