npm install --save @types/elv
This package contains type definitions for elv (https://github.com/dsfields/elv#readme).
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;
- Last updated: Mon, 20 Nov 2023 23:36:24 GMT
- Dependencies: none
These definitions were written by Gary Parker.