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) 415 B
import { SimpleChanges } from '@angular/core'; /** * Helper function to determine if a specific value has changed * * @param changes - The object of changes * @param path - The object path in question * @returns True if the value has changed * * @example * inputHasChanged(changesObject, 'myInputName') */ export declare function inputHasChanged(changes: SimpleChanges, path: string): boolean | undefined;