What is a predicate?

前端 未结 12 1729
无人及你
无人及你 2020-12-04 12:16

Being a hobbyist coder, I\'m lacking some fundamental knowledge. For the last couple days I\'ve been reading some stuff and the word \"predicate\" keeps reappearing. I\'d ve

12条回答
  •  暖寄归人
    2020-12-04 12:39

    The definition of a predicate, which can be found online in various sources such as here, is:

    A logical expression which evaluates to TRUE or FALSE, normally to direct the execution path in code.

    Referencing: Software Testing. By Mathew Hayden

提交回复
热议问题