one
Version:
One is a React framework for web, iOS, and Android apps.
9 lines (7 loc) • 319 B
JavaScript
function assertActionHandler(identifier, handler) {
if (typeof identifier !== "string" || !identifier.trim() || typeof handler !== "function") {
throw new TypeError("AppIntents.defineAction requires a non-empty identifier and a function");
}
}
export { assertActionHandler };
//# sourceMappingURL=validate.mjs.map