Skip to content

Commit

Permalink
Fikset internt variabel navn
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsmsa committed Sep 6, 2024
1 parent af6905f commit 0e77a2e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ operator fun RegelId.invoke(
kritierier = kriterier.toList()
)

fun Regel.evaluer(samletOpplysning: Iterable<Opplysning>): Boolean =
fun Regel.evaluer(opplysninger: Iterable<Opplysning>): Boolean =
kritierier.all {
it.eval(samletOpplysning)
it.eval(opplysninger)
}

/**
Expand Down

0 comments on commit 0e77a2e

Please sign in to comment.