UNPKG

@wordpress/widget-dashboard

Version:

Stateless rendering engine for widget dashboards: the WidgetDashboard compound component and its grid-settings kit.

12 lines (11 loc) • 315 B
// packages/widget-dashboard/src/utils/action-fulfillment.ts /** * Whether a callback fulfills the action. * * @param {WidgetRuntimeAction} action The action to test. */ function isCallbackAction(action) { return "callback" in action; } export { isCallbackAction }; //# sourceMappingURL=action-fulfillment.mjs.map