export const HideOrPrivate = ( extractedData , fieldName , modelName ) => { const isPrivate = ! ! extractedData . find ( ( e ) => e . fieldName === fieldName && modelName === e . modelName ) ?. private ; const isHide = ! ! extractedData . find ( ( e ) => e . fieldName === fieldName && modelName === e . modelName ) ?. hide ; return { isHide , isPrivate } ; } ;