UNPKG

@polls-platform/core

Version:

Polls Platform core library

13 lines (12 loc) 575 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isPollSourcePollId = void 0; const zod_1 = require("zod"); /* ****************************************************************************************************************** */ // region: Utils /* ****************************************************************************************************************** */ function isPollSourcePollId(pollSource) { return zod_1.z.string().uuid().safeParse(pollSource).success; } exports.isPollSourcePollId = isPollSourcePollId; // endregion