UNPKG

@kwiz/common

Version:

KWIZ common utilities and helpers for M365 platform

15 lines 661 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.IsGraphEventAttendee = exports.IsGraphEventUser = void 0; const typecheckers_1 = require("../typecheckers"); function IsGraphEventUser(obj) { let asEA = obj; return asEA && asEA.emailAddress && !(0, typecheckers_1.isNullOrEmptyString)(asEA.emailAddress.address); } exports.IsGraphEventUser = IsGraphEventUser; function IsGraphEventAttendee(obj) { let asEA = obj; return IsGraphEventUser(obj) && asEA.status && !(0, typecheckers_1.isNullOrEmptyString)(asEA.type); } exports.IsGraphEventAttendee = IsGraphEventAttendee; //# sourceMappingURL=calendar.types.js.map