lib/utils.js
function inFields(fieldName, options) {
	const {fields} = options;
	if (!fields) return true;
	return fields.includes(fieldName);
}
function inFields(fieldName, options) {
	const {fields} = options;
	if (!fields) return true;
	return fields.includes(fieldName);
}
function inFields ( fieldName , options ) { const { fields } = options ; if ( ! fields ) return true ; return fields . includes ( fieldName ) ; }
Check if field is in `fields` option
Check if field is in fields option