All Projects → busterc → underscore.haz

busterc / underscore.haz

Licence: other
🔍 _.haz() is like _.has() but this underscore and/or lodash mixin lets you do deep object key existence checking with a dot denoted string, for example 'a.b.c'

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to underscore.haz

Get Value
Use property paths (`a.b.c`) get a nested value from an object.
Stars: ✭ 194 (+1392.31%)
Mutual labels:  object, deep, lodash
Deepdash
eachDeep, filterDeep, findDeep, someDeep, omitDeep, pickDeep, keysDeep etc.. Tree traversal library written in Underscore/Lodash fashion
Stars: ✭ 175 (+1246.15%)
Mutual labels:  object, lodash
eslint-plugin-lodash-template
ESLint plugin for John Resig-style micro template, Lodash's template, Underscore's template and EJS.
Stars: ✭ 15 (+15.38%)
Mutual labels:  lodash, underscore
Clone Deep
Recursively (deep) clone JavaScript native types, like Object, Array, RegExp, Date as well as primitives. Used by superstruct, merge-deep, and many others!
Stars: ✭ 229 (+1661.54%)
Mutual labels:  object, deep
Blog
若川的博客—学习源码整体架构系列8篇,前端面试高频源码,微信搜索「若川视野」关注我,长期交流学习~
Stars: ✭ 234 (+1700%)
Mutual labels:  lodash, underscore
Deep Object Diff
Deep diffs two objects, including nested structures of arrays and objects, and returns the difference. ❄️
Stars: ✭ 515 (+3861.54%)
Mutual labels:  object, deep
Set Value
Set nested values on an object using dot-notation, like 'a.b.c'.
Stars: ✭ 203 (+1461.54%)
Mutual labels:  object, lodash
Sensei Grid
Simple and lightweight data grid in JS/HTML
Stars: ✭ 808 (+6115.38%)
Mutual labels:  lodash, underscore
CarND-VehicleDetection
vehicle detection with deep learning
Stars: ✭ 34 (+161.54%)
Mutual labels:  object, deep
php-lodash
php-lodash is a PHP utility library, similar to Underscore/Lodash.
Stars: ✭ 35 (+169.23%)
Mutual labels:  lodash, underscore
map-keys-deep-lodash
Map/rename keys recursively with Lodash
Stars: ✭ 16 (+23.08%)
Mutual labels:  deep, lodash
You Dont Need Lodash Underscore
List of JavaScript methods which you can use natively + ESLint Plugin
Stars: ✭ 13,915 (+106938.46%)
Mutual labels:  lodash, underscore
Dash
Functional programming library for PHP. Inspired by Underscore, Lodash, and Ramda.
Stars: ✭ 84 (+546.15%)
Mutual labels:  lodash, underscore
Moses
Utility library for functional programming in Lua
Stars: ✭ 541 (+4061.54%)
Mutual labels:  object, underscore
Javascript ninja
javascript-ninja 😆
Stars: ✭ 11 (-15.38%)
Mutual labels:  lodash, underscore
underwater
~2kb - ES6 Collection of helper functions. Lodash like
Stars: ✭ 18 (+38.46%)
Mutual labels:  lodash, underscore
Nspl
Non-Standard PHP Library - functional primitives toolbox and more
Stars: ✭ 365 (+2707.69%)
Mutual labels:  lodash, underscore
Lodash Id
Makes it easy to manipulate id-based resources with lodash or lowdb
Stars: ✭ 434 (+3238.46%)
Mutual labels:  lodash, underscore
js-deep-sort-object
Simple module to sort objects recursively by its keys
Stars: ✭ 19 (+46.15%)
Mutual labels:  object, deep
rudash
Rudash - Lodash for Ruby Apps
Stars: ✭ 27 (+107.69%)
Mutual labels:  lodash, underscore

_.haz()

_.haz() is like _.has() but this underscore and/or lodash mixin lets you do deep object key existence checking with a dot denoted string, for example 'a.b.c'

Usage

var _ = require('underscore'); // or, require('lodash');

require('underscore.haz')(_);

var o = {
  a: {
    b: {
      c: 'note'
    }
  }
};

console.log(_.haz(o, 'a.b.c'));
// => true

LICENSE

ISC License (ISC)

Copyright © 2014, Buster Collings

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].