include::../description.adoc[]

== Noncompliant Code Example

----
func canVote(person:Person) -> Bool {
  return person.age > 18 ? true : true // Noncompliant; is this what was intended?
}
----

== Compliant Solution

----
func canVote(person:Person) -> Bool {
  return person.age > 18 ? true : false
}
----

ifdef::env-github,rspecator-view[]
'''
== Comments And Links
(visible only on this page)

include::../comments-and-links.adoc[]
endif::env-github,rspecator-view[]
