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 5, 2024
1 parent 603f7f4 commit a7d50a0
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 a7d50a0

Please sign in to comment.