2021-01-29 00:20:46 +05:30
|
|
|
export const AVAILABILITY_STATUS = {
|
|
|
|
BUSY: 'busy',
|
|
|
|
NOT_SET: 'not_set',
|
|
|
|
};
|
|
|
|
|
2021-03-11 19:13:27 +05:30
|
|
|
export const isUserBusy = (status = '') =>
|
|
|
|
Boolean(status.length && status.toLowerCase().trim() === AVAILABILITY_STATUS.BUSY);
|