findData

fun findData(hookList: HookList, needValids: Boolean, data: <Error class: unknown class>? = null): Hook

Finds a #GHook in a #GHookList with the given data.

Return

the #GHook with the given @data or null if no matching #GHook is found

Parameters

hookList

a #GHookList

needValids

true if #GHook elements which have been destroyed should be skipped

data

the data to find