UNPKG

expo-notifications

Version:

Provides an API to fetch push notification tokens and to present, schedule, receive, and respond to notifications.

5 lines 221 B
export function hasValidTriggerObject(trigger) { return (trigger === null || (typeof trigger === 'object' && ('type' in trigger || 'channelId' in trigger))); } //# sourceMappingURL=hasValidTriggerObject.js.map