UNPKG

@onesy/utils

Version:
14 lines (13 loc) 484 B
/** * It returns an array with unique simple values * and / or array and object values. * * Referenced values are only compared based on * values in those reference type values based on array * of keys provided in the second argument in the method. * * Uniqueness of array and object values is separatelly * evaluated based on keys value and returned in the result. */ declare const unique: <T extends unknown>(object: T, ...args: string[]) => any[]; export default unique;