check_uniqueness


Description:

public static bool check_uniqueness (List<Object> list, string name)

Checks to see if there is any object named name in list.

This function does not do any locking of any kind. You might want to protect the provided list with the lock of the owner of the list. This function will lock each Object in the list to compare the name, so be careful when passing a list with a locked object.

Parameters:

list

a list of Object to check through

name

the name to search for

Returns:




2022 vala-language.org