2022-09-12 21:10:38 +00:00
|
|
|
import { AVAILABILITY_STATUS } from './constants';
|
2020-11-17 15:09:28 +00:00
|
|
|
|
2021-02-16 12:09:03 +00:00
|
|
|
export const isUserBusy = (status = '') =>
|
|
|
|
Boolean(status.length && status.toLowerCase().trim() === AVAILABILITY_STATUS.BUSY);
|