mirror of
https://github.com/Terncode/pixel.horse.git
synced 2026-09-25 06:05:52 +02:00
Archive commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { Pipe, PipeTransform } from '@angular/core';
|
||||
|
||||
@Pipe({
|
||||
name: 'keys',
|
||||
})
|
||||
export class KeysPipe implements PipeTransform {
|
||||
transform(value: any) {
|
||||
return value ? Object.keys(value) : value;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user