@studiohyperdrive/ngx-utils
Version:
A series of abstracts, utils, pipes and services for Angular applications.
14 lines (13 loc) • 519 B
TypeScript
import { PipeTransform } from '@angular/core';
import * as i0 from "@angular/core";
export declare class LimitToPipe implements PipeTransform {
/**
* Limits an array to a specific value
*
* @param value - The provided array
* @param limitedTo - The number to which we want to limit the array
*/
transform(value: any[], limitedTo: number): any[];
static ɵfac: i0.ɵɵFactoryDeclaration<LimitToPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<LimitToPipe, "limitTo", true>;
}