has-value

Value checker

A utility function to check if an object value exists at a given path or is not empty

Returns true if a value exists, false if empty. Works with deeply nested values using object paths.

GitHub

26 stars
4 watching
6 forks
Language: JavaScript
last commit: over 6 years ago
Linked from 1 awesome list

checkdot-notationjavascriptmicrolibobjectpropertyutilvalue

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
jonschlinkert/in-array Returns true if a value exists in an array without searching the entire array or handling null values 16
jonschlinkert/is-number Utility function to check if a value is a number or string representation of a number 260
jonschlinkert/get-value A utility library that provides a simple way to access nested properties of objects using dot notation. 247
syntax-tree/hast-util-has-property Utility to check if an element has a certain property 1
jonschlinkert/set-value A library that allows you to set nested properties on an object using dot notation. 272
syntax-tree/hast-util-is-element Utility to check if a node matches certain element criteria in HTML or document structures 12
jonschlinkert/arr-diff Returns an array with unique values from multiple arrays using strict equality comparisons 46
sindresorhus/is-observable Tool to check if a value is an Observable 39
fibo/not-defined A utility function that checks if a variable is undefined or not defined in the same way as null, NaN, empty strings, arrays, and objects. 5
linusu/has-own-property A utility to check if an object has a specific property 3
nettofarah/property-validator A library providing easy property validation functions for JavaScript applications 158
gummesson/is-empty-object A utility function to determine if an object is empty or not. 11
lukeed/dequal A utility to check for deep equality across various data types 1,371
umbrelladocs/linkspector A CLI tool that checks for dead hyperlinks in files using multiple markup languages. 67
syntax-tree/unist-util-is Utility to check if nodes match specific patterns 38