/scratch/workspace/artdaq-demo-v2_10_00/SLF6/s48-e10-debug/build/artdaq_node_server/v1_00_08/src/node_modules/xml2js/node_modules/xmlbuilder/node_modules/lodash/cond.js

var func = _.cond([ [_.matches({ 'a': 1 }), _.constant('matches A')], [_.conforms({ 'b': _.isNumber }), _.constant('matches B')], [_.stubTrue, _.constant('no match')] ]);

func({ 'a': 1, 'b': 2 }); // => 'matches A'

func({ 'a': 0, 'b': 1 }); // => 'matches B'

func({ 'a': '1', 'b': '2' }); // => 'no match'

 All Classes Namespaces Files

Generated on 1 Jun 2017 for artdaq_node_server by  doxygen 1.6.1