Documentation moved.This entry is documented with its primary interface. Open the documentation → API/nerdamer APIFunctionnerdamer.isPrimesrc/index.ts:979nerdamer.isPrime(x: ExpressionInput): ExpressionTests whether an exact integer expression is prime. Non-integer or unresolved symbolic input remains as an unevaluated isprime(...) expression so it can be simplified later.ParametersNameTypeDescriptionxExpressionInputExpression-compatible value to test.ReturnsExpression — 1 for prime integers, 0 for composite integers, or an unevaluated symbolic call.