1 import { exists } from './misc'
2 import { FollowState } from '@shared/models'
4 function isFollowStateValid (value: FollowState) {
5 if (!exists(value)) return false
7 return value === 'pending' || value === 'accepted'
10 // ---------------------------------------------------------------------------