type
stringclasses 7
values | content
stringlengths 4
9.55k
| repo
stringlengths 7
96
| path
stringlengths 4
178
| language
stringclasses 1
value |
---|---|---|---|---|
InterfaceDeclaration | /**********
* String *
**********/
//_.camelCase
interface LoDashStatic {
/**
* Converts string to camel case.
*
* @param string The string to convert.
* @return Returns the camel cased string.
*/
camelCase(string?: string): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitWrapper<T> {
/**
* @see _.camelCase
*/
camelCase(): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitWrapper<T> {
/**
* @see _.camelCase
*/
camelCase(): LoDashExplicitWrapper<string>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.capitalize
interface LoDashStatic {
/**
* Converts the first character of string to upper case and the remaining to lower case.
*
* @param string The string to capitalize.
* @return Returns the capitalized string.
*/
capitalize(string?: string): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitWrapper<T> {
/**
* @see _.capitalize
*/
capitalize(): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitWrapper<T> {
/**
* @see _.capitalize
*/
capitalize(): LoDashExplicitWrapper<string>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.deburr
interface LoDashStatic {
/**
* Deburrs string by converting latin-1 supplementary letters to basic latin letters and removing combining
* diacritical marks.
*
* @param string The string to deburr.
* @return Returns the deburred string.
*/
deburr(string?: string): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitWrapper<T> {
/**
* @see _.deburr
*/
deburr(): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitWrapper<T> {
/**
* @see _.deburr
*/
deburr(): LoDashExplicitWrapper<string>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.endsWith
interface LoDashStatic {
/**
* Checks if string ends with the given target string.
*
* @param string The string to search.
* @param target The string to search for.
* @param position The position to search from.
* @return Returns true if string ends with target, else false.
*/
endsWith(
string?: string,
target?: string,
position?: number
): boolean;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitWrapper<T> {
/**
* @see _.endsWith
*/
endsWith(
target?: string,
position?: number
): boolean;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitWrapper<T> {
/**
* @see _.endsWith
*/
endsWith(
target?: string,
position?: number
): LoDashExplicitWrapper<boolean>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | // _.escape
interface LoDashStatic {
/**
* Converts the characters "&", "<", ">", '"', "'", and "`" in string to their corresponding HTML entities.
*
* Note: No other characters are escaped. To escape additional characters use a third-party library like he.
*
* hough the ">" character is escaped for symmetry, characters like ">" and "/" don’t need escaping in HTML
* and have no special meaning unless they're part of a tag or unquoted attribute value. See Mathias Bynens’s
* article (under "semi-related fun fact") for more details.
*
* Backticks are escaped because in IE < 9, they can break out of attribute values or HTML comments. See #59,
* #102, #108, and #133 of the HTML5 Security Cheatsheet for more details.
*
* When working with HTML you should always quote attribute values to reduce XSS vectors.
*
* @param string The string to escape.
* @return Returns the escaped string.
*/
escape(string?: string): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitWrapper<T> {
/**
* @see _.escape
*/
escape(): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitWrapper<T> {
/**
* @see _.escape
*/
escape(): LoDashExplicitWrapper<string>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | // _.escapeRegExp
interface LoDashStatic {
/**
* Escapes the RegExp special characters "^", "$", "\", ".", "*", "+", "?", "(", ")", "[", "]",
* "{", "}", and "|" in string.
*
* @param string The string to escape.
* @return Returns the escaped string.
*/
escapeRegExp(string?: string): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitWrapper<T> {
/**
* @see _.escapeRegExp
*/
escapeRegExp(): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitWrapper<T> {
/**
* @see _.escapeRegExp
*/
escapeRegExp(): LoDashExplicitWrapper<string>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.kebabCase
interface LoDashStatic {
/**
* Converts string to kebab case.
*
* @param string The string to convert.
* @return Returns the kebab cased string.
*/
kebabCase(string?: string): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitWrapper<T> {
/**
* @see _.kebabCase
*/
kebabCase(): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitWrapper<T> {
/**
* @see _.kebabCase
*/
kebabCase(): LoDashExplicitWrapper<string>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.lowerCase
interface LoDashStatic {
/**
* Converts `string`, as space separated words, to lower case.
*
* @param string The string to convert.
* @return Returns the lower cased string.
*/
lowerCase(string?: string): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitWrapper<T> {
/**
* @see _.lowerCase
*/
lowerCase(): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitWrapper<T> {
/**
* @see _.lowerCase
*/
lowerCase(): LoDashExplicitWrapper<string>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.lowerFirst
interface LoDashStatic {
/**
* Converts the first character of `string` to lower case.
*
* @param string The string to convert.
* @return Returns the converted string.
*/
lowerFirst(string?: string): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitWrapper<T> {
/**
* @see _.lowerFirst
*/
lowerFirst(): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitWrapper<T> {
/**
* @see _.lowerFirst
*/
lowerFirst(): LoDashExplicitWrapper<string>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.pad
interface LoDashStatic {
/**
* Pads string on the left and right sides if it’s shorter than length. Padding characters are truncated if
* they can’t be evenly divided by length.
*
* @param string The string to pad.
* @param length The padding length.
* @param chars The string used as padding.
* @return Returns the padded string.
*/
pad(
string?: string,
length?: number,
chars?: string
): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitWrapper<T> {
/**
* @see _.pad
*/
pad(
length?: number,
chars?: string
): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitWrapper<T> {
/**
* @see _.pad
*/
pad(
length?: number,
chars?: string
): LoDashExplicitWrapper<string>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.padEnd
interface LoDashStatic {
/**
* Pads string on the right side if it’s shorter than length. Padding characters are truncated if they exceed
* length.
*
* @param string The string to pad.
* @param length The padding length.
* @param chars The string used as padding.
* @return Returns the padded string.
*/
padEnd(
string?: string,
length?: number,
chars?: string
): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitWrapper<T> {
/**
* @see _.padEnd
*/
padEnd(
length?: number,
chars?: string
): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitWrapper<T> {
/**
* @see _.padEnd
*/
padEnd(
length?: number,
chars?: string
): LoDashExplicitWrapper<string>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.padStart
interface LoDashStatic {
/**
* Pads string on the left side if it’s shorter than length. Padding characters are truncated if they exceed
* length.
*
* @param string The string to pad.
* @param length The padding length.
* @param chars The string used as padding.
* @return Returns the padded string.
*/
padStart(
string?: string,
length?: number,
chars?: string
): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitWrapper<T> {
/**
* @see _.padStart
*/
padStart(
length?: number,
chars?: string
): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitWrapper<T> {
/**
* @see _.padStart
*/
padStart(
length?: number,
chars?: string
): LoDashExplicitWrapper<string>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.parseInt
interface LoDashStatic {
/**
* Converts string to an integer of the specified radix. If radix is undefined or 0, a radix of 10 is used
* unless value is a hexadecimal, in which case a radix of 16 is used.
*
* Note: This method aligns with the ES5 implementation of parseInt.
*
* @param string The string to convert.
* @param radix The radix to interpret value by.
* @return Returns the converted integer.
*/
parseInt(
string: string,
radix?: number
): number;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitWrapper<T> {
/**
* @see _.parseInt
*/
parseInt(radix?: number): number;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitWrapper<T> {
/**
* @see _.parseInt
*/
parseInt(radix?: number): LoDashExplicitWrapper<number>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.repeat
interface LoDashStatic {
/**
* Repeats the given string n times.
*
* @param string The string to repeat.
* @param n The number of times to repeat the string.
* @return Returns the repeated string.
*/
repeat(
string?: string,
n?: number
): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitWrapper<T> {
/**
* @see _.repeat
*/
repeat(n?: number): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitWrapper<T> {
/**
* @see _.repeat
*/
repeat(n?: number): LoDashExplicitWrapper<string>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.replace
interface LoDashStatic {
/**
* Replaces matches for pattern in string with replacement.
*
* Note: This method is based on String#replace.
*
* @param string
* @param pattern
* @param replacement
* @return Returns the modified string.
*/
replace(
string: string,
pattern: RegExp|string,
replacement: Function|string
): string;
/**
* @see _.replace
*/
replace(
pattern?: RegExp|string,
replacement?: Function|string
): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitWrapper<T> {
/**
* @see _.replace
*/
replace(
pattern?: RegExp|string,
replacement?: Function|string
): string;
/**
* @see _.replace
*/
replace(
replacement?: Function|string
): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitObjectWrapper<T> {
/**
* @see _.replace
*/
replace(
pattern?: RegExp|string,
replacement?: Function|string
): string;
/**
* @see _.replace
*/
replace(
replacement?: Function|string
): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitWrapper<T> {
/**
* @see _.replace
*/
replace(
pattern?: RegExp|string,
replacement?: Function|string
): LoDashExplicitWrapper<string>;
/**
* @see _.replace
*/
replace(
replacement?: Function|string
): LoDashExplicitWrapper<string>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitObjectWrapper<T> {
/**
* @see _.replace
*/
replace(
pattern?: RegExp|string,
replacement?: Function|string
): LoDashExplicitWrapper<string>;
/**
* @see _.replace
*/
replace(
replacement?: Function|string
): LoDashExplicitWrapper<string>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.snakeCase
interface LoDashStatic {
/**
* Converts string to snake case.
*
* @param string The string to convert.
* @return Returns the snake cased string.
*/
snakeCase(string?: string): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitWrapper<T> {
/**
* @see _.snakeCase
*/
snakeCase(): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitWrapper<T> {
/**
* @see _.snakeCase
*/
snakeCase(): LoDashExplicitWrapper<string>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.split
interface LoDashStatic {
/**
* Splits string by separator.
*
* Note: This method is based on String#split.
*
* @param string
* @param separator
* @param limit
* @return Returns the new array of string segments.
*/
split(
string: string,
separator?: RegExp|string,
limit?: number
): string[];
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitWrapper<T> {
/**
* @see _.split
*/
split(
separator?: RegExp|string,
limit?: number
): LoDashImplicitArrayWrapper<string>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitWrapper<T> {
/**
* @see _.split
*/
split(
separator?: RegExp|string,
limit?: number
): LoDashExplicitArrayWrapper<string>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.startCase
interface LoDashStatic {
/**
* Converts string to start case.
*
* @param string The string to convert.
* @return Returns the start cased string.
*/
startCase(string?: string): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitWrapper<T> {
/**
* @see _.startCase
*/
startCase(): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitWrapper<T> {
/**
* @see _.startCase
*/
startCase(): LoDashExplicitWrapper<string>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.startsWith
interface LoDashStatic {
/**
* Checks if string starts with the given target string.
*
* @param string The string to search.
* @param target The string to search for.
* @param position The position to search from.
* @return Returns true if string starts with target, else false.
*/
startsWith(
string?: string,
target?: string,
position?: number
): boolean;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitWrapper<T> {
/**
* @see _.startsWith
*/
startsWith(
target?: string,
position?: number
): boolean;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitWrapper<T> {
/**
* @see _.startsWith
*/
startsWith(
target?: string,
position?: number
): LoDashExplicitWrapper<boolean>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.template
interface TemplateOptions extends TemplateSettings {
/**
* The sourceURL of the template's compiled source.
*/
sourceURL?: string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface TemplateExecutor {
(data?: Object): string;
source: string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashStatic {
/**
* Creates a compiled template function that can interpolate data properties in "interpolate" delimiters,
* HTML-escape interpolated data properties in "escape" delimiters, and execute JavaScript in "evaluate"
* delimiters. Data properties may be accessed as free variables in the template. If a setting object is
* provided it takes precedence over _.templateSettings values.
*
* Note: In the development build _.template utilizes
* [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl) for easier
* debugging.
*
* For more information on precompiling templates see
* [lodash's custom builds documentation](https://lodash.com/custom-builds).
*
* For more information on Chrome extension sandboxes see
* [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval).
*
* @param string The template string.
* @param options The options object.
* @param options.escape The HTML "escape" delimiter.
* @param options.evaluate The "evaluate" delimiter.
* @param options.imports An object to import into the template as free variables.
* @param options.interpolate The "interpolate" delimiter.
* @param options.sourceURL The sourceURL of the template's compiled source.
* @param options.variable The data object variable name.
* @return Returns the compiled template function.
*/
template(
string: string,
options?: TemplateOptions
): TemplateExecutor;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitWrapper<T> {
/**
* @see _.template
*/
template(options?: TemplateOptions): TemplateExecutor;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitWrapper<T> {
/**
* @see _.template
*/
template(options?: TemplateOptions): LoDashExplicitObjectWrapper<TemplateExecutor>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.toLower
interface LoDashStatic {
/**
* Converts `string`, as a whole, to lower case.
*
* @param string The string to convert.
* @return Returns the lower cased string.
*/
toLower(string?: string): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitWrapper<T> {
/**
* @see _.toLower
*/
toLower(): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitWrapper<T> {
/**
* @see _.toLower
*/
toLower(): LoDashExplicitWrapper<string>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.toUpper
interface LoDashStatic {
/**
* Converts `string`, as a whole, to upper case.
*
* @param string The string to convert.
* @return Returns the upper cased string.
*/
toUpper(string?: string): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitWrapper<T> {
/**
* @see _.toUpper
*/
toUpper(): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitWrapper<T> {
/**
* @see _.toUpper
*/
toUpper(): LoDashExplicitWrapper<string>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.trim
interface LoDashStatic {
/**
* Removes leading and trailing whitespace or specified characters from string.
*
* @param string The string to trim.
* @param chars The characters to trim.
* @return Returns the trimmed string.
*/
trim(
string?: string,
chars?: string
): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitWrapper<T> {
/**
* @see _.trim
*/
trim(chars?: string): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitWrapper<T> {
/**
* @see _.trim
*/
trim(chars?: string): LoDashExplicitWrapper<string>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.trimEnd
interface LoDashStatic {
/**
* Removes trailing whitespace or specified characters from string.
*
* @param string The string to trim.
* @param chars The characters to trim.
* @return Returns the trimmed string.
*/
trimEnd(
string?: string,
chars?: string
): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitWrapper<T> {
/**
* @see _.trimEnd
*/
trimEnd(chars?: string): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitWrapper<T> {
/**
* @see _.trimEnd
*/
trimEnd(chars?: string): LoDashExplicitWrapper<string>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.trimStart
interface LoDashStatic {
/**
* Removes leading whitespace or specified characters from string.
*
* @param string The string to trim.
* @param chars The characters to trim.
* @return Returns the trimmed string.
*/
trimStart(
string?: string,
chars?: string
): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitWrapper<T> {
/**
* @see _.trimStart
*/
trimStart(chars?: string): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitWrapper<T> {
/**
* @see _.trimStart
*/
trimStart(chars?: string): LoDashExplicitWrapper<string>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.truncate
interface TruncateOptions {
/** The maximum string length. */
length?: number;
/** The string to indicate text is omitted. */
omission?: string;
/** The separator pattern to truncate to. */
separator?: string|RegExp;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashStatic {
/**
* Truncates string if it’s longer than the given maximum string length. The last characters of the truncated
* string are replaced with the omission string which defaults to "…".
*
* @param string The string to truncate.
* @param options The options object or maximum string length.
* @return Returns the truncated string.
*/
truncate(
string?: string,
options?: TruncateOptions
): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitWrapper<T> {
/**
* @see _.truncate
*/
truncate(options?: TruncateOptions): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitWrapper<T> {
/**
* @see _.truncate
*/
truncate(options?: TruncateOptions): LoDashExplicitWrapper<string>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.unescape
interface LoDashStatic {
/**
* The inverse of _.escape; this method converts the HTML entities &, <, >, ", ', and `
* in string to their corresponding characters.
*
* Note: No other HTML entities are unescaped. To unescape additional HTML entities use a third-party library
* like he.
*
* @param string The string to unescape.
* @return Returns the unescaped string.
*/
unescape(string?: string): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitWrapper<T> {
/**
* @see _.unescape
*/
unescape(): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitWrapper<T> {
/**
* @see _.unescape
*/
unescape(): LoDashExplicitWrapper<string>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.upperCase
interface LoDashStatic {
/**
* Converts `string`, as space separated words, to upper case.
*
* @param string The string to convert.
* @return Returns the upper cased string.
*/
upperCase(string?: string): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitWrapper<T> {
/**
* @see _.upperCase
*/
upperCase(): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitWrapper<T> {
/**
* @see _.upperCase
*/
upperCase(): LoDashExplicitWrapper<string>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.upperFirst
interface LoDashStatic {
/**
* Converts the first character of `string` to upper case.
*
* @param string The string to convert.
* @return Returns the converted string.
*/
upperFirst(string?: string): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitWrapper<T> {
/**
* @see _.upperFirst
*/
upperFirst(): string;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitWrapper<T> {
/**
* @see _.upperFirst
*/
upperFirst(): LoDashExplicitWrapper<string>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.words
interface LoDashStatic {
/**
* Splits `string` into an array of its words.
*
* @param string The string to inspect.
* @param pattern The pattern to match words.
* @return Returns the words of `string`.
*/
words(
string?: string,
pattern?: string|RegExp
): string[];
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitWrapper<T> {
/**
* @see _.words
*/
words(pattern?: string|RegExp): string[];
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitWrapper<T> {
/**
* @see _.words
*/
words(pattern?: string|RegExp): LoDashExplicitArrayWrapper<string>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | /***********
* Utility *
***********/
//_.attempt
interface LoDashStatic {
/**
* Attempts to invoke func, returning either the result or the caught error object. Any additional arguments
* are provided to func when it’s invoked.
*
* @param func The function to attempt.
* @return Returns the func result or error object.
*/
attempt<TResult>(func: (...args: any[]) => TResult, ...args: any[]): TResult|Error;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitObjectWrapper<T> {
/**
* @see _.attempt
*/
attempt<TResult>(...args: any[]): TResult|Error;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashExplicitObjectWrapper<T> {
/**
* @see _.attempt
*/
attempt<TResult>(...args: any[]): LoDashExplicitObjectWrapper<TResult|Error>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration | //_.constant
interface LoDashStatic {
/**
* Creates a function that returns value.
*
* @param value The value to return from the new function.
* @return Returns the new function.
*/
constant<T>(value: T): () => T;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
InterfaceDeclaration |
interface LoDashImplicitWrapperBase<T, TWrapper> {
/**
* @see _.constant
*/
constant<TResult>(): LoDashImplicitObjectWrapper<() => TResult>;
} | CarlCui/DefinitelyTyped | lodash/lodash.d.ts | TypeScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.