checkFriendship :boolean
function Util.checkFriendship(class: class, methodName: string, method: () -> (), classes: {[string]: class}): boolean
This function checks if the given method and it's methodName is in the given class's Friend access specifier.
Default syntax
Parameters
class: class
The
class that the check will be made from.
methodName: string
The name of the given
method.
class: class
The
method that will be checked.
classes: {[string]: class}
A table that contains all of the created
classes. Since a class can also be inserted to the Friend access specifier through a string that contains the class's name, this table is used to find the classes set with this method.
Returns