Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
What numbers mean "true" and "false" in FunC?

Programming languages often use 0 for "false" and -1 for "true". It works that way in FunC, too. But what about all the other numbers? Do they have a boolean value and which one is it?


This question was imported from Telegram Chat: https://t.me/tondev/136159

  
  
Posted one year ago
Votes Newest

Answers


false is zero. true is -1. All other non-zero integers are also like a boolean true.

  
  
Posted one year ago
12K Views
1 Answer
one year ago
one year ago
Tags