MCPcopy Create free account
hub / github.com/nodejs/nodejs.org / isZoned

Function isZoned

apps/site/components/MDX/Calendar/utils.ts:3–4  ·  view source on GitHub ↗
(d: object)

Source from the content-addressed store, hash-verified

1import type { CalendarEvent, ZonedCalendarTime } from '#site/types';
2
3export const isZoned = (d: object): d is ZonedCalendarTime =>
4 'dateTime' in d && 'timeZone' in d;
5
6export const getZoomLink = (
7 event: Pick<CalendarEvent, 'description' | 'location'>

Callers 2

UpcomingMeetingsFunction · 0.90
EventFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected