UNPKG

outers

Version:

outers - a all in one package for your day to day use

11 lines (10 loc) 649 B
/** * The function checks if the input parameter is an array of objects and returns true if it is, * otherwise it returns false and logs an error message. * @param Filter - The parameter "Filter" is expected to be an array of objects. The function checks if * the input is in the correct format and returns true if it is an array of objects, and false * otherwise. * @returns a boolean value. If the input parameter `Filter` is undefined, null, a string, a number, or * a boolean, the function returns `false`. If `Filter` is an array, the function returns `true`. */ export default function findValidator(Filter: any): boolean | undefined;