@web3r/flowerkit
Version:
A collection of more than 60 often used utility JS functions that simplify frontend development.
12 lines • 359 B
TypeScript
/**
* Checks if items of given Array is same
* @param arr{Array} - source Array
* @return {boolean}
* @example
* // How to check if all records are equal in array?
* const arr = [ 1, 1, 1 ];
* const isSame = isItemsEqual(arr);
* console.log(isSame); // => true
*/
export function isItemsEqual(arr: any[]): boolean;
//# sourceMappingURL=index.d.ts.map