Tabnine Logo For Javascript
LoDashStatic.lowerCase
Code IndexAdd Tabnine to your IDE (free)

How to use
lowerCase
function
in
LoDashStatic

Best JavaScript code snippets using lodash.LoDashStatic.lowerCase(Showing top 15 results out of 315)

origin: lando/lando

// Lowercase all
const lca = list => _(list).map(item => _.lowerCase(item)).value()
origin: swestmoreland/scormcloud-api-wrapper

this._request(url, function (error, json) {

    if (error) return callback(error, json);

    let data = _.lowerCase(json.rsp.result) === 'true' ? true : false;

    return callback(error, data);

  });
origin: swestmoreland/scormcloud-api-wrapper

var getCourseAttributeValue = function (name, value) {

  switch (_.get(COURSE_ATTRIBUTES, name)) {
    case "boolean":
      return _.lowerCase(value) === 'true' ? true : false;
    case "number":
      return _.toNumber(value);
    case "integer":
      return _.toInteger(value);
    // Value is a string by default.
    default:
      return value;
  }

}
origin: patrixr/pocket-cms

//
 // ---- ACL
 //

 _trimActions(actions) {
  return _.chain(actions)
   .map(_.lowerCase)
   .map(act => ACTION_ALIASES[act] || act)
   .filter(act => _.includes(ALLOWED_ACTIONS, act))
   .uniq()
   .value();
 }
origin: vamsikoduri/webpack_react_project

_.chain(db)
  .filter(a => _.includes(_.lowerCase(a.name), _.lowerCase(criteria.name)))
  .filter(a => a.age > criteria.age.min && a.age < criteria.age.max)
  .filter(a => a.yearsActive > criteria.yearsActive.min && a.yearsActive < criteria.yearsActive.max)
  .sortBy(a => a[sortProperty])
  .value()
origin: swestmoreland/scormcloud-api-wrapper

this._request(url, { secretKey: this.managementKey }, function (error, json) {

    if (error) return callback(error, json);

    var data = {
      "appId":          json.rsp.appInfo.application.appId,
      "name":           json.rsp.appInfo.application.name,
      "allowDeleteAPI": _.lowerCase(json.rsp.appInfo.application.allowDeleteAPI) === 'true' ? true : false,
      "allowUpdateAPI": _.lowerCase(json.rsp.appInfo.application.allowUpdateAPI) === 'true' ? true : false,
      "createDate":     json.rsp.appInfo.application.createDate,
      "secretKeys":     []
    }

    let secretKeys = toArray(json.rsp.appInfo.application.secretKeys.secretKey);

    secretKeys.forEach(function (secretKey) {
      data.secretKeys.push({
        "id":          secretKey.id,
        "key":         secretKey.key,
        "pensKey":     secretKey.pensKey,
        "description": secretKey.description,
        "active":      _.lowerCase(secretKey.active) === 'true' ? true : false,
        "createDate":  secretKey.createDate
      });
    });

    return callback(error, data);

  });
origin: swestmoreland/scormcloud-api-wrapper

this._request(url, function (error, json) {

    if (error) return callback(error, json);

    let data = [];
    let invitationList = toArray(json.rsp.invitationlist.invitationInfo);

    invitationList.forEach(function (invitation) {
      data.push({
        "id":                    invitation.id,
        "body":                  invitation.body,
        "courseId":              invitation.courseId,
        "subject":               invitation.subject,
        "url":                   invitation.url,
        "allowLaunch":           _.lowerCase(invitation.allowLaunch) === 'true' ? true : false,
        "allowNewRegistrations": _.lowerCase(invitation.allowNewRegistrations) === 'true' ? true : false,
        "public":                _.lowerCase(invitation.public) === 'true' ? true : false,
        "created":               _.lowerCase(invitation.created) === 'true' ? true : false,
        "createdDate":           invitation.createdDate
      });
    });

    return callback(error, data);

  });
origin: swestmoreland/scormcloud-api-wrapper

this._request(url, function (error, json) {

    if (error) return callback(error, json);

    let data = {
      "id":                           json.rsp.launch.id,
      "completion":                   json.rsp.launch.completion,
      "satisfaction":                 json.rsp.launch.satisfaction,
      "measure_status":               json.rsp.launch.measure_status,
      "normalized_measure":           json.rsp.launch.normalized_measure,
      "experienced_duration_tracked": json.rsp.launch.experienced_duration_tracked,
      "launch_time":                  json.rsp.launch.launch_time,
      "exit_time":                    json.rsp.launch.exit_time,
      "update_dt":                    json.rsp.launch.update_dt,
      "log": {
        "browser":                  json.rsp.launch.log.RuntimeLog.browser,
        "trackingEnabled":          _.lowerCase(json.rsp.launch.log.RuntimeLog.trackingEnabled) === 'true' ? true : false,
        "version":                  json.rsp.launch.log.RuntimeLog.version,
        "events":                   json.rsp.launch.log.RuntimeLog.RuntimeEvent
      }
    };

    return callback(error, data);

  });
origin: swestmoreland/scormcloud-api-wrapper

this._request(url, function (error, json) {

    if (error) return callback(error, json);

    let data = {
      "email":                  json.rsp.account.email,
      "firstname":              json.rsp.account.firstname,
      "lastname":               json.rsp.account.lastname,
      "company":                json.rsp.account.company,
      "accounttype":            json.rsp.account.accounttype,
      "reglimit":               _.toInteger(json.rsp.account.reglimit),
      "strictlimit":            _.lowerCase(json.rsp.account.strictlimit) === 'true' ? true : false,
      "createdate":             json.rsp.account.createdate,
      "usage": {
        "monthstart":         json.rsp.account.usage.monthstart,
        "regcount":           _.toInteger(json.rsp.account.usage.regcount),
        "totalregistrations": _.toInteger(json.rsp.account.usage.totalregistrations),
        "totalcourses":       _.toInteger(json.rsp.account.usage.totalcourses)
      }
    }

    return callback(error, data);

  });
origin: lando/lando

// Lowercase all
const lca = list => _(list).map(item => _.lowerCase(item)).value()
origin: swestmoreland/scormcloud-api-wrapper

this._request(url, function (error, json) {

    if (error) return callback(error, json);

    let data = _.lowerCase(json.rsp.result) === 'true' ? true : false;

    return callback(error, data);

  });
origin: swestmoreland/scormcloud-api-wrapper

this._request(url, { secretKey: this.managementKey }, function (error, json) {

    if (error) return callback(error, json);

    var data = {
      "appId":          json.rsp.appInfo.application.appId,
      "name":           json.rsp.appInfo.application.name,
      "allowDeleteAPI": _.lowerCase(json.rsp.appInfo.application.allowDeleteAPI) === 'true' ? true : false,
      "allowUpdateAPI": _.lowerCase(json.rsp.appInfo.application.allowUpdateAPI) === 'true' ? true : false,
      "createDate":     json.rsp.appInfo.application.createDate,
      "secretKeys":     []
    }

    let secretKeys = toArray(json.rsp.appInfo.application.secretKeys.secretKey);

    secretKeys.forEach(function (secretKey) {
      data.secretKeys.push({
        "id":          secretKey.id,
        "key":         secretKey.key,
        "pensKey":     secretKey.pensKey,
        "description": secretKey.description,
        "active":      _.lowerCase(secretKey.active) === 'true' ? true : false,
        "createDate":  secretKey.createDate
      });
    });

    return callback(error, data);

  });
origin: swestmoreland/scormcloud-api-wrapper

this._request(url, { secretKey: this.managementKey }, function (error, json) {

    if (error) return callback(error, json);

    var data = {
      "appId":          json.rsp.appInfo.application.appId,
      "name":           json.rsp.appInfo.application.name,
      "allowDeleteAPI": _.lowerCase(json.rsp.appInfo.application.allowDeleteAPI) === 'true' ? true : false,
      "allowUpdateAPI": _.lowerCase(json.rsp.appInfo.application.allowUpdateAPI) === 'true' ? true : false,
      "createDate":     json.rsp.appInfo.application.createDate,
      "secretKeys":     []
    }

    let secretKeys = toArray(json.rsp.appInfo.application.secretKeys.secretKey);

    secretKeys.forEach(function (secretKey) {
      data.secretKeys.push({
        "id":          secretKey.id,
        "key":         secretKey.key,
        "pensKey":     secretKey.pensKey,
        "description": secretKey.description,
        "active":      _.lowerCase(secretKey.active) === 'true' ? true : false,
        "createDate":  secretKey.createDate
      });
    });

    return callback(error, data);

  });
origin: swestmoreland/scormcloud-api-wrapper

this._request(url, { secretKey: this.managementKey }, function (error, json) {

    if (error) return callback(error, json);

    var data = {
      "appId":          json.rsp.appInfo.application.appId,
      "name":           json.rsp.appInfo.application.name,
      "allowDeleteAPI": _.lowerCase(json.rsp.appInfo.application.allowDeleteAPI) === 'true' ? true : false,
      "allowUpdateAPI": _.lowerCase(json.rsp.appInfo.application.allowUpdateAPI) === 'true' ? true : false,
      "createDate":     json.rsp.appInfo.application.createDate,
      "secretKeys":     []
    }

    let secretKeys = toArray(json.rsp.appInfo.application.secretKeys.secretKey);

    secretKeys.forEach(function (secretKey) {
      data.secretKeys.push({
        "id":          secretKey.id,
        "key":         secretKey.key,
        "pensKey":     secretKey.pensKey,
        "description": secretKey.description,
        "active":      _.lowerCase(secretKey.active) === 'true' ? true : false,
        "createDate":  secretKey.createDate
      });
    });

    return callback(error, data);

  });
origin: swestmoreland/scormcloud-api-wrapper

this._request(url, { secretKey: this.managementKey }, function (error, json) {

    if (error) return callback(error, json);

    var data = {
      "appId":          json.rsp.appInfo.application.appId,
      "name":           json.rsp.appInfo.application.name,
      "allowDeleteAPI": _.lowerCase(json.rsp.appInfo.application.allowDeleteAPI) === 'true' ? true : false,
      "allowUpdateAPI": _.lowerCase(json.rsp.appInfo.application.allowUpdateAPI) === 'true' ? true : false,
      "createDate":     json.rsp.appInfo.application.createDate,
      "secretKeys":     []
    }

    let secretKeys = toArray(json.rsp.appInfo.application.secretKeys.secretKey);

    secretKeys.forEach(function (secretKey) {
      data.secretKeys.push({
        "id":          secretKey.id,
        "key":         secretKey.key,
        "pensKey":     secretKey.pensKey,
        "description": secretKey.description,
        "active":      _.lowerCase(secretKey.active) === 'true' ? true : false,
        "createDate":  secretKey.createDate
      });
    });

    return callback(error, data);

  });
lodash(npm)LoDashStaticlowerCase

JSDoc

Converts `string`, as space separated words, to lower case.

Most used lodash functions

  • LoDashStatic.map
    Creates an array of values by running each element in collection through iteratee. The iteratee is
  • LoDashStatic.isEmpty
    Checks if value is empty. A value is considered empty unless it’s an arguments object, array, string
  • LoDashStatic.forEach
    Iterates over elements of collection invoking iteratee for each element. The iteratee is invoked wit
  • LoDashStatic.find
    Iterates over elements of collection, returning the first element predicate returns truthy for.
  • LoDashStatic.pick
    Creates an object composed of the picked `object` properties.
  • LoDashStatic.get,
  • LoDashStatic.isArray,
  • LoDashStatic.filter,
  • LoDashStatic.merge,
  • LoDashStatic.isString,
  • LoDashStatic.isFunction,
  • LoDashStatic.assign,
  • LoDashStatic.extend,
  • LoDashStatic.includes,
  • LoDashStatic.keys,
  • LoDashStatic.cloneDeep,
  • LoDashStatic.uniq,
  • LoDashStatic.isObject,
  • LoDashStatic.omit

Popular in JavaScript

  • ms
    Tiny millisecond conversion utility
  • request
    Simplified HTTP request client.
  • readable-stream
    Streams3, a user-land copy of the stream library from Node.js
  • cheerio
    Tiny, fast, and elegant implementation of core jQuery designed specifically for the server
  • async
    Higher-order functions and common patterns for asynchronous code
  • path
  • crypto
  • mocha
    simple, flexible, fun test framework
  • mongodb
    The official MongoDB driver for Node.js
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJavascript Code Index
Get Tabnine for your IDE now