UNPKG

@terminus/ngx-tools

Version:

[![CircleCI][circle-badge]][circle-link] [![codecov][codecov-badge]][codecov-project] [![semantic-release][semantic-release-badge]][semantic-release] [![MIT License][license-image]][license-url] <br> [![NPM version][npm-version-image]][npm-url] [![Github

13 lines (12 loc) 382 B
import { AbstractControl } from '@angular/forms'; /** * Determine if the item is an AbstractControl * * @param x - The item to test * @returns The result * * @example * isAbstractControl(new FormControl()) // Returns: true * isAbstractControl('hi') // Returns: false */ export declare const isAbstractControl: (x: Record<string, any>) => x is AbstractControl;