@studiohyperdrive/ngx-utils
Version:
A series of abstracts, utils, pipes and services for Angular applications.
11 lines (10 loc) • 431 B
TypeScript
import { PipeTransform } from '@angular/core';
import * as i0 from "@angular/core";
export declare class ToArrayPipe implements PipeTransform {
/**
* Checks if a given argument is an array, if not, it will wrap the argument in a new array.
*/
transform(value: any): any[];
static ɵfac: i0.ɵɵFactoryDeclaration<ToArrayPipe, never>;
static ɵpipe: i0.ɵɵPipeDeclaration<ToArrayPipe, "toArray", true>;
}