UNPKG

ngx2-pipes

Version:
29 lines 3.06 kB
import { Pipe, NgModule } from '@angular/core'; import { isArray } from '../utils/utils'; import * as i0 from "@angular/core"; export class IsArrayPipe { transform(value) { return isArray(value); } } IsArrayPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: IsArrayPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); IsArrayPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: IsArrayPipe, name: "isArray" }); i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: IsArrayPipe, decorators: [{ type: Pipe, args: [{ name: 'isArray', }] }] }); export class NgIsArrayPipeModule { } NgIsArrayPipeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: NgIsArrayPipeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); NgIsArrayPipeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: NgIsArrayPipeModule, declarations: [IsArrayPipe], exports: [IsArrayPipe] }); NgIsArrayPipeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: NgIsArrayPipeModule }); i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.1.3", ngImport: i0, type: NgIsArrayPipeModule, decorators: [{ type: NgModule, args: [{ declarations: [IsArrayPipe], exports: [IsArrayPipe], }] }] }); //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXMtYXJyYXkucGlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9ib29sZWFuL2lzLWFycmF5LnBpcGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTy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