prolog-vc-tools
    Preparing search index...

    Function isStringValidTerm

    • Validates a Prolog statement string by attempting to assert it in the Prolog engine.

      Parameters

      • statement: string

        A Prolog statement string to validate.

      Returns Promise<boolean>

      True if the statement is valid, false otherwise.

      Not sure this is going to be reliable enough to use in the "custom prolog statement" use case.