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

12 lines (11 loc) 259 B
/** * Determine if the item has a value * * @param x - The value being tested * @returns The result * * @example * isSet<string>('hi') // Returns: true * isSet<number>(void 0) // Returns: false */ export declare const isSet: <T>(x: any) => x is T;