2020-11-17 10:09:28 -05:00
|
|
|
export const AVAILABILITY_STATUS = {
|
|
|
|
BUSY: 'busy',
|
|
|
|
NOT_SET: 'not_set',
|
|
|
|
};
|
|
|
|
|
2021-02-16 07:09:03 -05:00
|
|
|
export const isUserBusy = (status = '') =>
|
|
|
|
Boolean(status.length && status.toLowerCase().trim() === AVAILABILITY_STATUS.BUSY);
|