type
stringclasses
7 values
content
stringlengths
4
9.55k
repo
stringlengths
7
96
path
stringlengths
4
178
language
stringclasses
1 value
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.drop */ drop<T>(n?: number): LoDashImplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitArrayWrapper<T> { /** * @see _.drop */ drop(n?: number): LoDashExplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.drop */ drop<T>(n?: number): LoDashExplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.dropRight interface LoDashStatic { /** * Creates a slice of array with n elements dropped from the end. * * @param array The array to query. * @param n The number of elements to drop. * @return Returns the slice of array. */ dropRight<T>( array: List<T>, n?: number ): T[]; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.dropRight */ dropRight(n?: number): LoDashImplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.dropRight */ dropRight<TResult>(n?: number): LoDashImplicitArrayWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitArrayWrapper<T> { /** * @see _.dropRight */ dropRight(n?: number): LoDashExplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.dropRight */ dropRight<TResult>(n?: number): LoDashExplicitArrayWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.dropRightWhile interface LoDashStatic { /** * Creates a slice of array excluding elements dropped from the end. Elements are dropped until predicate * returns falsey. The predicate is bound to thisArg and invoked with three arguments: (value, index, array). * * If a property name is provided for predicate the created _.property style callback returns the property * value of the given element. * * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for * elements that have a matching property value, else false. * * If an object is provided for predicate the created _.matches style callback returns true for elements that * match the properties of the given object, else false. * * @param array The array to query. * @param predicate The function invoked per iteration. * @param thisArg The this binding of predicate. * @return Returns the slice of array. */ dropRightWhile<TValue>( array: List<TValue>, predicate?: ListIterator<TValue, boolean>, thisArg?: any ): TValue[]; /** * @see _.dropRightWhile */ dropRightWhile<TValue>( array: List<TValue>, predicate?: string, thisArg?: any ): TValue[]; /** * @see _.dropRightWhile */ dropRightWhile<TWhere, TValue>( array: List<TValue>, predicate?: TWhere ): TValue[]; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.dropRightWhile */ dropRightWhile( predicate?: ListIterator<T, boolean>, thisArg?: any ): LoDashImplicitArrayWrapper<T>; /** * @see _.dropRightWhile */ dropRightWhile( predicate?: string, thisArg?: any ): LoDashImplicitArrayWrapper<T>; /** * @see _.dropRightWhile */ dropRightWhile<TWhere>( predicate?: TWhere ): LoDashImplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.dropRightWhile */ dropRightWhile<TValue>( predicate?: ListIterator<TValue, boolean>, thisArg?: any ): LoDashImplicitArrayWrapper<TValue>; /** * @see _.dropRightWhile */ dropRightWhile<TValue>( predicate?: string, thisArg?: any ): LoDashImplicitArrayWrapper<TValue>; /** * @see _.dropRightWhile */ dropRightWhile<TWhere, TValue>( predicate?: TWhere ): LoDashImplicitArrayWrapper<TValue>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitArrayWrapper<T> { /** * @see _.dropRightWhile */ dropRightWhile( predicate?: ListIterator<T, boolean>, thisArg?: any ): LoDashExplicitArrayWrapper<T>; /** * @see _.dropRightWhile */ dropRightWhile( predicate?: string, thisArg?: any ): LoDashExplicitArrayWrapper<T>; /** * @see _.dropRightWhile */ dropRightWhile<TWhere>( predicate?: TWhere ): LoDashExplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.dropRightWhile */ dropRightWhile<TValue>( predicate?: ListIterator<TValue, boolean>, thisArg?: any ): LoDashExplicitArrayWrapper<TValue>; /** * @see _.dropRightWhile */ dropRightWhile<TValue>( predicate?: string, thisArg?: any ): LoDashExplicitArrayWrapper<TValue>; /** * @see _.dropRightWhile */ dropRightWhile<TWhere, TValue>( predicate?: TWhere ): LoDashExplicitArrayWrapper<TValue>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.dropWhile interface LoDashStatic { /** * Creates a slice of array excluding elements dropped from the beginning. Elements are dropped until predicate * returns falsey. The predicate is bound to thisArg and invoked with three arguments: (value, index, array). * * If a property name is provided for predicate the created _.property style callback returns the property * value of the given element. * * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for * elements that have a matching property value, else false. * * If an object is provided for predicate the created _.matches style callback returns true for elements that * have the properties of the given object, else false. * * @param array The array to query. * @param predicate The function invoked per iteration. * @param thisArg The this binding of predicate. * @return Returns the slice of array. */ dropWhile<TValue>( array: List<TValue>, predicate?: ListIterator<TValue, boolean>, thisArg?: any ): TValue[]; /** * @see _.dropWhile */ dropWhile<TValue>( array: List<TValue>, predicate?: string, thisArg?: any ): TValue[]; /** * @see _.dropWhile */ dropWhile<TWhere, TValue>( array: List<TValue>, predicate?: TWhere ): TValue[]; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.dropWhile */ dropWhile( predicate?: ListIterator<T, boolean>, thisArg?: any ): LoDashImplicitArrayWrapper<T>; /** * @see _.dropWhile */ dropWhile( predicate?: string, thisArg?: any ): LoDashImplicitArrayWrapper<T>; /** * @see _.dropWhile */ dropWhile<TWhere>( predicate?: TWhere ): LoDashImplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.dropWhile */ dropWhile<TValue>( predicate?: ListIterator<TValue, boolean>, thisArg?: any ): LoDashImplicitArrayWrapper<TValue>; /** * @see _.dropWhile */ dropWhile<TValue>( predicate?: string, thisArg?: any ): LoDashImplicitArrayWrapper<TValue>; /** * @see _.dropWhile */ dropWhile<TWhere, TValue>( predicate?: TWhere ): LoDashImplicitArrayWrapper<TValue>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitArrayWrapper<T> { /** * @see _.dropWhile */ dropWhile( predicate?: ListIterator<T, boolean>, thisArg?: any ): LoDashExplicitArrayWrapper<T>; /** * @see _.dropWhile */ dropWhile( predicate?: string, thisArg?: any ): LoDashExplicitArrayWrapper<T>; /** * @see _.dropWhile */ dropWhile<TWhere>( predicate?: TWhere ): LoDashExplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.dropWhile */ dropWhile<TValue>( predicate?: ListIterator<TValue, boolean>, thisArg?: any ): LoDashExplicitArrayWrapper<TValue>; /** * @see _.dropWhile */ dropWhile<TValue>( predicate?: string, thisArg?: any ): LoDashExplicitArrayWrapper<TValue>; /** * @see _.dropWhile */ dropWhile<TWhere, TValue>( predicate?: TWhere ): LoDashExplicitArrayWrapper<TValue>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.fill interface LoDashStatic { /** * Fills elements of array with value from start up to, but not including, end. * * Note: This method mutates array. * * @param array The array to fill. * @param value The value to fill array with. * @param start The start position. * @param end The end position. * @return Returns array. */ fill<T>( array: any[], value: T, start?: number, end?: number ): T[]; /** * @see _.fill */ fill<T>( array: List<any>, value: T, start?: number, end?: number ): List<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.fill */ fill<T>( value: T, start?: number, end?: number ): LoDashImplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.fill */ fill<T>( value: T, start?: number, end?: number ): LoDashImplicitObjectWrapper<List<T>>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitArrayWrapper<T> { /** * @see _.fill */ fill<T>( value: T, start?: number, end?: number ): LoDashExplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.fill */ fill<T>( value: T, start?: number, end?: number ): LoDashExplicitObjectWrapper<List<T>>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.findIndex interface LoDashStatic { /** * This method is like _.find except that it returns the index of the first element predicate returns truthy * for instead of the element itself. * * If a property name is provided for predicate the created _.property style callback returns the property * value of the given element. * * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for * elements that have a matching property value, else false. * * If an object is provided for predicate the created _.matches style callback returns true for elements that * have the properties of the given object, else false. * * @param array The array to search. * @param predicate The function invoked per iteration. * @param thisArg The this binding of predicate. * @return Returns the index of the found element, else -1. */ findIndex<T>( array: List<T>, predicate?: ListIterator<T, boolean>, thisArg?: any ): number; /** * @see _.findIndex */ findIndex<T>( array: List<T>, predicate?: string, thisArg?: any ): number; /** * @see _.findIndex */ findIndex<W, T>( array: List<T>, predicate?: W ): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.findIndex */ findIndex( predicate?: ListIterator<T, boolean>, thisArg?: any ): number; /** * @see _.findIndex */ findIndex( predicate?: string, thisArg?: any ): number; /** * @see _.findIndex */ findIndex<W>( predicate?: W ): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.findIndex */ findIndex<TResult>( predicate?: ListIterator<TResult, boolean>, thisArg?: any ): number; /** * @see _.findIndex */ findIndex( predicate?: string, thisArg?: any ): number; /** * @see _.findIndex */ findIndex<W>( predicate?: W ): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitArrayWrapper<T> { /** * @see _.findIndex */ findIndex( predicate?: ListIterator<T, boolean>, thisArg?: any ): LoDashExplicitWrapper<number>; /** * @see _.findIndex */ findIndex( predicate?: string, thisArg?: any ): LoDashExplicitWrapper<number>; /** * @see _.findIndex */ findIndex<W>( predicate?: W ): LoDashExplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.findIndex */ findIndex<TResult>( predicate?: ListIterator<TResult, boolean>, thisArg?: any ): LoDashExplicitWrapper<number>; /** * @see _.findIndex */ findIndex( predicate?: string, thisArg?: any ): LoDashExplicitWrapper<number>; /** * @see _.findIndex */ findIndex<W>( predicate?: W ): LoDashExplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.findLastIndex interface LoDashStatic { /** * This method is like _.findIndex except that it iterates over elements of collection from right to left. * * If a property name is provided for predicate the created _.property style callback returns the property * value of the given element. * * If a value is also provided for thisArg the created _.matchesProperty style callback returns true for * elements that have a matching property value, else false. * * If an object is provided for predicate the created _.matches style callback returns true for elements that * have the properties of the given object, else false. * * @param array The array to search. * @param predicate The function invoked per iteration. * @param thisArg The function invoked per iteration. * @return Returns the index of the found element, else -1. */ findLastIndex<T>( array: List<T>, predicate?: ListIterator<T, boolean>, thisArg?: any ): number; /** * @see _.findLastIndex */ findLastIndex<T>( array: List<T>, predicate?: string, thisArg?: any ): number; /** * @see _.findLastIndex */ findLastIndex<W, T>( array: List<T>, predicate?: W ): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.findLastIndex */ findLastIndex( predicate?: ListIterator<T, boolean>, thisArg?: any ): number; /** * @see _.findLastIndex */ findLastIndex( predicate?: string, thisArg?: any ): number; /** * @see _.findLastIndex */ findLastIndex<W>( predicate?: W ): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.findLastIndex */ findLastIndex<TResult>( predicate?: ListIterator<TResult, boolean>, thisArg?: any ): number; /** * @see _.findLastIndex */ findLastIndex( predicate?: string, thisArg?: any ): number; /** * @see _.findLastIndex */ findLastIndex<W>( predicate?: W ): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitArrayWrapper<T> { /** * @see _.findLastIndex */ findLastIndex( predicate?: ListIterator<T, boolean>, thisArg?: any ): LoDashExplicitWrapper<number>; /** * @see _.findLastIndex */ findLastIndex( predicate?: string, thisArg?: any ): LoDashExplicitWrapper<number>; /** * @see _.findLastIndex */ findLastIndex<W>( predicate?: W ): LoDashExplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.findLastIndex */ findLastIndex<TResult>( predicate?: ListIterator<TResult, boolean>, thisArg?: any ): LoDashExplicitWrapper<number>; /** * @see _.findLastIndex */ findLastIndex( predicate?: string, thisArg?: any ): LoDashExplicitWrapper<number>; /** * @see _.findLastIndex */ findLastIndex<W>( predicate?: W ): LoDashExplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.first interface LoDashStatic { /** * @see _.head */ first<T>(array: List<T>): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapper<T> { /** * @see _.head */ first(): string; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.head */ first(): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.head */ first<T>(): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapper<T> { /** * @see _.head */ first(): LoDashExplicitWrapper<string>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitArrayWrapper<T> { /** * @see _.head */ first<T>(): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.head */ first<T>(): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface RecursiveArray<T> extends Array<T|RecursiveArray<T>> {}
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface ListOfRecursiveArraysOrValues<T> extends List<T|RecursiveArray<T>> {}
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.flatten interface LoDashStatic { /** * Flattens a nested array. If isDeep is true the array is recursively flattened, otherwise it’s only * flattened a single level. * * @param array The array to flatten. * @param isDeep Specify a deep flatten. * @return Returns the new flattened array. */ flatten<T>(array: ListOfRecursiveArraysOrValues<T>, isDeep: boolean): T[]; /** * @see _.flatten */ flatten<T>(array: List<T|T[]>): T[]; /** * @see _.flatten */ flatten<T>(array: ListOfRecursiveArraysOrValues<T>): RecursiveArray<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapper<T> { /** * @see _.flatten */ flatten(): LoDashImplicitArrayWrapper<string>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.flatten */ flatten<TResult>(isDeep?: boolean): LoDashImplicitArrayWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.flatten */ flatten<TResult>(isDeep?: boolean): LoDashImplicitArrayWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapper<T> { /** * @see _.flatten */ flatten(): LoDashExplicitArrayWrapper<string>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitArrayWrapper<T> { /** * @see _.flatten */ flatten<TResult>(isDeep?: boolean): LoDashExplicitArrayWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.flatten */ flatten<TResult>(isDeep?: boolean): LoDashExplicitArrayWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.flattenDeep interface LoDashStatic { /** * Recursively flattens a nested array. * * @param array The array to recursively flatten. * @return Returns the new flattened array. */ flattenDeep<T>(array: ListOfRecursiveArraysOrValues<T>): T[]; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapper<T> { /** * @see _.flattenDeep */ flattenDeep(): LoDashImplicitArrayWrapper<string>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.flattenDeep */ flattenDeep<T>(): LoDashImplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.flattenDeep */ flattenDeep<T>(): LoDashImplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapper<T> { /** * @see _.flattenDeep */ flattenDeep(): LoDashExplicitArrayWrapper<string>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitArrayWrapper<T> { /** * @see _.flattenDeep */ flattenDeep<T>(): LoDashExplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.flattenDeep */ flattenDeep<T>(): LoDashExplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.fromPairs DUMMY interface LoDashStatic { /** * The inverse of `_.toPairs`; this method returns an object composed * from key-value `pairs`. * * @static * @memberOf _ * @category Array * @param {Array} pairs The key-value pairs. * @returns {Object} Returns the new object. * @example * * _.fromPairs([['fred', 30], ['barney', 40]]); * // => { 'fred': 30, 'barney': 40 } */ fromPairs( array: any[]|List<any> ): any[]; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.head interface LoDashStatic { /** * Gets the first element of array. * * @alias _.first * * @param array The array to query. * @return Returns the first element of array. */ head<T>(array: List<T>): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapper<T> { /** * @see _.head */ head(): string; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.head */ head(): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.head */ head<T>(): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapper<T> { /** * @see _.head */ head(): LoDashExplicitWrapper<string>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitArrayWrapper<T> { /** * @see _.head */ head<T>(): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.head */ head<T>(): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.indexOf interface LoDashStatic { /** * Gets the index at which the first occurrence of `value` is found in `array` * using [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero) * for equality comparisons. If `fromIndex` is negative, it's used as the offset * from the end of `array`. If `array` is sorted providing `true` for `fromIndex` * performs a faster binary search. * * @static * @memberOf _ * @category Array * @param {Array} array The array to search. * @param {*} value The value to search for. * @param {number} [fromIndex=0] The index to search from. * @returns {number} Returns the index of the matched value, else `-1`. * @example * * _.indexOf([1, 2, 1, 2], 2); * // => 1 * * // using `fromIndex` * _.indexOf([1, 2, 1, 2], 2, 2); * // => 3 */ indexOf<T>( array: List<T>, value: T, fromIndex?: boolean|number ): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.indexOf */ indexOf( value: T, fromIndex?: boolean|number ): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.indexOf */ indexOf<TValue>( value: TValue, fromIndex?: boolean|number ): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitArrayWrapper<T> { /** * @see _.indexOf */ indexOf( value: T, fromIndex?: boolean|number ): LoDashExplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.indexOf */ indexOf<TValue>( value: TValue, fromIndex?: boolean|number ): LoDashExplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.intersectionBy DUMMY interface LoDashStatic { /** * This method is like `_.intersection` except that it accepts `iteratee` * which is invoked for each element of each `arrays` to generate the criterion * by which uniqueness is computed. The iteratee is invoked with one argument: (value). * * @static * @memberOf _ * @category Array * @param {...Array} [arrays] The arrays to inspect. * @param {Function|Object|string} [iteratee=_.identity] The iteratee invoked per element. * @returns {Array} Returns the new array of shared values. * @example * * _.intersectionBy([2.1, 1.2], [4.3, 2.4], Math.floor); * // => [2.1] * * // using the `_.property` iteratee shorthand * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x'); * // => [{ 'x': 1 }] */ intersectionBy( array: any[]|List<any>, ...values: any[] ): any[]; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.intersectionWith DUMMY interface LoDashStatic { /** * This method is like `_.intersection` except that it accepts `comparator` * which is invoked to compare elements of `arrays`. The comparator is invoked * with two arguments: (arrVal, othVal). * * @static * @memberOf _ * @category Array * @param {...Array} [arrays] The arrays to inspect. * @param {Function} [comparator] The comparator invoked per element. * @returns {Array} Returns the new array of shared values. * @example * * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }]; * * _.intersectionWith(objects, others, _.isEqual); * // => [{ 'x': 1, 'y': 2 }] */ intersectionWith( array: any[]|List<any>, ...values: any[] ): any[]; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.join interface LoDashStatic { /** * Converts all elements in `array` into a string separated by `separator`. * * @param array The array to convert. * @param separator The element separator. * @returns Returns the joined string. */ join( array: List<any>, separator?: string ): string; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapper<T> { /** * @see _.join */ join(separator?: string): string; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.join */ join(separator?: string): string; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.join */ join(separator?: string): string; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitWrapper<T> { /** * @see _.join */ join(separator?: string): LoDashExplicitWrapper<string>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitArrayWrapper<T> { /** * @see _.join */ join(separator?: string): LoDashExplicitWrapper<string>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.join */ join(separator?: string): LoDashExplicitWrapper<string>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.pullAll DUMMY interface LoDashStatic { /** * This method is like `_.pull` except that it accepts an array of values to remove. * * **Note:** Unlike `_.difference`, this method mutates `array`. * * @static * @memberOf _ * @category Array * @param {Array} array The array to modify. * @param {Array} values The values to remove. * @returns {Array} Returns `array`. * @example * * var array = [1, 2, 3, 1, 2, 3]; * * _.pull(array, [2, 3]); * console.log(array); * // => [1, 1] */ pullAll( array: any[]|List<any>, ...values: any[] ): any[]; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.pullAllBy DUMMY interface LoDashStatic { /** * This method is like `_.pullAll` except that it accepts `iteratee` which is * invoked for each element of `array` and `values` to to generate the criterion * by which uniqueness is computed. The iteratee is invoked with one argument: (value). * * **Note:** Unlike `_.differenceBy`, this method mutates `array`. * * @static * @memberOf _ * @category Array * @param {Array} array The array to modify. * @param {Array} values The values to remove. * @param {Function|Object|string} [iteratee=_.identity] The iteratee invoked per element. * @returns {Array} Returns `array`. * @example * * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }]; * * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x'); * console.log(array); * // => [{ 'x': 2 }] */ pullAllBy( array: any[]|List<any>, ...values: any[] ): any[]; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.reverse DUMMY interface LoDashStatic { /** * Reverses `array` so that the first element becomes the last, the second * element becomes the second to last, and so on. * * **Note:** This method mutates `array` and is based on * [`Array#reverse`](https://mdn.io/Array/reverse). * * @memberOf _ * @category Array * @returns {Array} Returns `array`. * @example * * var array = [1, 2, 3]; * * _.reverse(array); * // => [3, 2, 1] * * console.log(array); * // => [3, 2, 1] */ reverse( array: any[]|List<any>, ...values: any[] ): any[]; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.sortedIndexOf interface LoDashStatic { /** * This method is like `_.indexOf` except that it performs a binary * search on a sorted `array`. * * @static * @memberOf _ * @category Array * @param {Array} array The array to search. * @param {*} value The value to search for. * @returns {number} Returns the index of the matched value, else `-1`. * @example * * _.sortedIndexOf([1, 1, 2, 2], 2); * // => 2 */ sortedIndexOf<T>( array: List<T>, value: T ): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.sortedIndexOf */ sortedIndexOf( value: T ): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.sortedIndexOf */ sortedIndexOf<TValue>( value: TValue ): number; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitArrayWrapper<T> { /** * @see _.sortedIndexOf */ sortedIndexOf( value: T ): LoDashExplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.sortedIndexOf */ sortedIndexOf<TValue>( value: TValue ): LoDashExplicitWrapper<number>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.initial interface LoDashStatic { /** * Gets all but the last element of array. * * @param array The array to query. * @return Returns the slice of array. */ initial<T>(array: List<T>): T[]; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.initial */ initial(): LoDashImplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.initial */ initial<T>(): LoDashImplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitArrayWrapper<T> { /** * @see _.initial */ initial(): LoDashExplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.initial */ initial<T>(): LoDashExplicitArrayWrapper<T>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.intersection interface LoDashStatic { /** * Creates an array of unique values that are included in all of the provided arrays using SameValueZero for * equality comparisons. * * @param arrays The arrays to inspect. * @return Returns the new array of shared values. */ intersection<T>(...arrays: (T[]|List<T>)[]): T[]; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.intersection */ intersection<TResult>(...arrays: (TResult[]|List<TResult>)[]): LoDashImplicitArrayWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.intersection */ intersection<TResult>(...arrays: (TResult[]|List<TResult>)[]): LoDashImplicitArrayWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitArrayWrapper<T> { /** * @see _.intersection */ intersection<TResult>(...arrays: (TResult[]|List<TResult>)[]): LoDashExplicitArrayWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashExplicitObjectWrapper<T> { /** * @see _.intersection */ intersection<TResult>(...arrays: (TResult[]|List<TResult>)[]): LoDashExplicitArrayWrapper<TResult>; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
//_.last interface LoDashStatic { /** * Gets the last element of array. * * @param array The array to query. * @return Returns the last element of array. */ last<T>(array: List<T>): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitWrapper<T> { /** * @see _.last */ last(): string; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitArrayWrapper<T> { /** * @see _.last */ last(): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript
InterfaceDeclaration
interface LoDashImplicitObjectWrapper<T> { /** * @see _.last */ last<T>(): T; }
CarlCui/DefinitelyTyped
lodash/lodash.d.ts
TypeScript