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 . |
methodName: string | The name of the given method . |
method: () -> () | The method . |
classes: Table | A table that contains 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
boolean |