UNPKG

node-vehicle-logos

Version:
10 lines (9 loc) 536 B
import { MatchType, VehicleMake } from "./types"; /** * Finds the make that best matches the specified name in the provided list of makes. * @param text The text to search * @param makes The list of VehicleMake objects. An internal list is provided by {@link VehicleMakes} * @param [match="full"] The type of match to execute * @returns The VehicleMake if found, or undefined */ export declare function findMake(text: string, makes: Iterable<Readonly<VehicleMake>>, match?: MatchType): Readonly<VehicleMake> | undefined;