Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F62955411
2-ids.pipe.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, May 16, 18:32
Size
333 B
Mime Type
text/x-java
Expires
Sat, May 18, 18:32 (2 d)
Engine
blob
Format
Raw Data
Handle
17712216
Attached To
rNIETZSCHEBETAAPP Nietzsche-Beta-App
2-ids.pipe.ts
View Options
import { Pipe, PipeTransform } from '@angular/core';
import { BasicResultBindingElement } from '../datatypes/basic_datatype';
@Pipe({
name: 'toIds'
})
export class ToIdsPipe implements PipeTransform {
transform(basicElements: BasicResultBindingElement[]): string[] {
return basicElements.map(element =>element.id);
}
}
Event Timeline
Log In to Comment