/** * Returns the first matching element. * * @param array - The array to find element in * @param matcher - The function that returns true if element satisfies a condition * @returns An element that satisfies the condition * * @category Array * @public */ export default function find(array: Array, matcher: (element: ElementType) => boolean): ElementType | undefined;