MCPcopy
hub / github.com/tj/commander.js / hasCustomOptionValue

Method hasCustomOptionValue

lib/command.js:2010–2015  ·  view source on GitHub ↗
(optionKey)

Source from the content-addressed store, hash-verified

2008 _parseOptionsImplied() {
2009 const dualHelper = new DualOptions(this.options);
2010 const hasCustomOptionValue = (optionKey) => {
2011 return (
2012 this.getOptionValue(optionKey) !== undefined &&
2013 !['default', 'implied'].includes(this.getOptionValueSource(optionKey))
2014 );
2015 };
2016 this.options
2017 .filter(
2018 (option) =>

Callers

nothing calls this directly

Calls 2

getOptionValueMethod · 0.95
getOptionValueSourceMethod · 0.95

Tested by

no test coverage detected