@types/elv
TypeScript icon, indicating that this package has built-in type declarations

2.2.4 • Public • Published

Installation

npm install --save @types/elv

Summary

This package contains type definitions for elv (https://github.com/dsfields/elv#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/elv.

declare function elv(val: any): boolean;

declare namespace elv {
    const behavior: {
        enableFalse: boolean;
        enableNaN: boolean;
        enableNull: boolean;
        enableUndefined: boolean;
    };
    function coalesce(...args: any[]): any;
    function ncoalesce(...args: any[]): any;
    function populated(val: any): boolean;
    function tryGet(val: readonly any[], index: number, def?: any): any;
}

export = elv;

Additional Details

  • Last updated: Mon, 20 Nov 2023 23:36:24 GMT
  • Dependencies: none

Credits

These definitions were written by Gary Parker.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/elv

Weekly Downloads

5

Version

2.2.4

License

MIT

Unpacked Size

3.37 kB

Total Files

5

Last publish

Collaborators

  • types