/** * @module array */ /** * * Allows filtering of an array by querying a property with a getter path instead of a callback function. * * @param array The array of object to filter * @param path The path of the property to filter * @param value The value of the property to filter * @return Array filtered according to property and past value * */ export default function filterBy(array: object[], path: string | string[], value: any): object[];