Frontend API

export class KeysPipe implements PipeTransform

Pipe that takes a JS object composed of {key: value}s and returns its content in an array containing one object formatted as {key: keyName, value: valueVal} for each key of the original element.

Pipes webpage : https://angular.io/guide/pipes

Created by antoine on 29/06/17.

transform(value: object, args: string[]): Array

Takes a JS object composed of {key: value}s and returns its content in an array containing one object formatted as {key: keyName, value: valueVal} for each key of the original element.