import { FIELD_PREFIX_TO_ADD_AS_CANDIDATE } from '../constants' ; export const hasPrefixToInclude = ( fieldName ) => { return FIELD_PREFIX_TO_ADD_AS_CANDIDATE . some ( ( prefix ) => fieldName . startsWith ( prefix ) ) ; } ;