/*! * has-value <https://github.com/jonschlinkert/has-value> * * Copyright (c) 2014-2017, Jon Schlinkert. * Licensed under the MIT License. */'use strict';varisObject=require('isobject');varhasValues=require('has-values');varget=require('get-value');module.exports=function(val,prop){returnhasValues(isObject(val)&&prop?get(val,prop):val);};