Nie możesz wybrać więcej, niż 25 tematów
Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
To repozytorium jest zarchiwizowane. Możesz wyświetlać pliki i je sklonować, ale nie możesz do niego przepychać zmian lub otwierać zgłoszeń/Pull Requestów.
|
12345678910111213141516 |
- /*!
- * has-value <https://github.com/jonschlinkert/has-value>
- *
- * Copyright (c) 2014-2017, Jon Schlinkert.
- * Licensed under the MIT License.
- */
-
- 'use strict';
-
- var isObject = require('isobject');
- var hasValues = require('has-values');
- var get = require('get-value');
-
- module.exports = function(val, prop) {
- return hasValues(isObject(val) && prop ? get(val, prop) : val);
- };
|