Aggregate

You can check the module import here.

groupBy

Returns the groupped data of the given array.

File

import { NgGroupByPipeModule } from 'angular-pipes';

Usage

const values = [
  { name: 'a', prop: 'foo' },
  { name: 'b', prop: 'bar' },
  { name: 'c', prop: 'bar' },
  { name: 'd', prop: 'foo' },
];

min

Returns the minimum of the given array.

File

Usage

max

Returns the maximum of the given array.

File

Usage

mean

Returns the mean of the given array.

File

Usage

sum

Returns the sum of the given array.

File

Usage

Last updated

Was this helpful?