UNPKG

@prismatic-io/spectral

Version:

Utility library for building Prismatic connectors and code-native integrations

6 lines (5 loc) 329 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isPollingTriggerDefinition = void 0; const isPollingTriggerDefinition = (ref) => typeof ref === "object" && ref !== null && "triggerType" in ref && ref.triggerType === "polling"; exports.isPollingTriggerDefinition = isPollingTriggerDefinition;