type FindCallback = (value: T) => boolean; type FindResult = (arr: T[]) => T | undefined; type FindFn =