From 6555fb80fdd8f6a5d201efadec3189d1244830a0 Mon Sep 17 00:00:00 2001 From: Nevena Bojovic Date: Tue, 1 Mar 2022 22:05:25 +0100 Subject: Izbrisala bin, obj i node-modules. --- .../Front/node_modules/lodash/startsWith.js | 39 ---------------------- 1 file changed, 39 deletions(-) delete mode 100644 sandbox/testAppNevena/Front/node_modules/lodash/startsWith.js (limited to 'sandbox/testAppNevena/Front/node_modules/lodash/startsWith.js') diff --git a/sandbox/testAppNevena/Front/node_modules/lodash/startsWith.js b/sandbox/testAppNevena/Front/node_modules/lodash/startsWith.js deleted file mode 100644 index 956c098a..00000000 --- a/sandbox/testAppNevena/Front/node_modules/lodash/startsWith.js +++ /dev/null @@ -1,39 +0,0 @@ -var baseClamp = require('./_baseClamp'), - baseToString = require('./_baseToString'), - toInteger = require('./toInteger'), - toString = require('./toString'); - -/** - * Checks if `string` starts with the given target string. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category String - * @param {string} [string=''] The string to inspect. - * @param {string} [target] The string to search for. - * @param {number} [position=0] The position to search from. - * @returns {boolean} Returns `true` if `string` starts with `target`, - * else `false`. - * @example - * - * _.startsWith('abc', 'a'); - * // => true - * - * _.startsWith('abc', 'b'); - * // => false - * - * _.startsWith('abc', 'b', 1); - * // => true - */ -function startsWith(string, target, position) { - string = toString(string); - position = position == null - ? 0 - : baseClamp(toInteger(position), 0, string.length); - - target = baseToString(target); - return string.slice(position, position + target.length) == target; -} - -module.exports = startsWith; -- cgit v1.2.3