#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere
TypeScript dockerhacktoberfestjavapdfpdf-converterpdf-editorpdf-manipulationpdf-mergerpdf-ocrpdf-toolspdf-web-appspdfmergerself-hosted
import type { Condition } from "@editor/conditions/types";
/** Whether the comparison has an input and operands ready to submit to ConditionValidator. */
export function isConditionComplete(condition: Condition): boolean {
return (
condition.input.field.trim() !== "" &&
condition.values.some((value) => value.trim() !== "")
);
}