blob: e17d95adb25be8107af68094cb4e5808ac4fd21b (
plain)
1
2
3
4
5
6
7
|
export const AVAILABILITY_STATUS = {
BUSY: 'busy',
NOT_SET: 'not_set',
};
export const isUserBusy = (status = '') =>
Boolean(status.length && status.toLowerCase().trim() === AVAILABILITY_STATUS.BUSY);
|