@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) • 306 B
TypeScript
/**
* Helper function to determine if input is unset.
*
* @param x - the input being tested
* @returns boolean
*
* @example
* isUnset(null); // Returns: true
* isUnset(undefined); // Returns: true
* isUnset('hello'); // Returns: false
*/
export declare const isUnset: (x: any) => boolean;