@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.

index.d.ts

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.

Versions

Current Tags

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.2.4
    9
  • 2.2.3
    1
  • 2.2.2
    1
  • 2.2.1
    1
  • 2.2.0
    4

Package Sidebar

Install

npm i @types/elv

Weekly Downloads

12

Version

2.2.4

License

MIT

Unpacked Size

3.37 kB

Total Files

5

Last publish

Collaborators

  • types