UNPKG

insight-previous-tcr

Version:

A blockchain explorer for Bitcore

15 lines (13 loc) 327 B
import { Pipe, PipeTransform } from "@angular/core"; @Pipe({ name: 'split' }) export class SplitPipe implements PipeTransform { /** * Takes a value and makes it lowercase. */ public transform(value: string, delimiter: string): string[] { const array: string[] = value.split(delimiter); return array; } }