mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 08:37:49 +00:00
Bump to v4.13.0.
This commit is contained in:
10
endsWith.js
10
endsWith.js
@@ -1,7 +1,7 @@
|
||||
import baseClamp from './_baseClamp';
|
||||
import baseToString from './_baseToString';
|
||||
import toInteger from './toInteger';
|
||||
import toString from './toString';
|
||||
import baseClamp from './_baseClamp.js';
|
||||
import baseToString from './_baseToString.js';
|
||||
import toInteger from './toInteger.js';
|
||||
import toString from './toString.js';
|
||||
|
||||
/**
|
||||
* Checks if `string` ends with the given target string.
|
||||
@@ -12,7 +12,7 @@ import toString from './toString';
|
||||
* @category String
|
||||
* @param {string} [string=''] The string to search.
|
||||
* @param {string} [target] The string to search for.
|
||||
* @param {number} [position=string.length] The position to search from.
|
||||
* @param {number} [position=string.length] The position to search up to.
|
||||
* @returns {boolean} Returns `true` if `string` ends with `target`,
|
||||
* else `false`.
|
||||
* @example
|
||||
|
||||
Reference in New Issue
Block a user