import has from 'ramda/src/has' ; import { Fiats } from '@config' ; import { TFiatTicker , TTicker } from '@types' ; const isFiatTicker = ( ticker ) : ticker is TFiatTicker => has ( ticker ) ( Fiats ) ; export default isFiatTicker ;