nl_tokens: Validates a given configuration .
pl_tokens: function validateConfig ( config ) { return new Promise ( ( resolve , reject ) => { if ( config . src !== undefined ) { if ( ! <mask> . isArray ( config . src ) ) { config . src = [ config . src ] ; } resolve ( config ) ; } else { reject ( "No source path specified" ) ; } } ) ; }