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
Can a FunC variable store the result of a logical expresson?

Some programming languages let assign a variable the result of a logical expression. In FunC that could look like this:

int enough? = (s.slice_bits() >= flag_len);

Does FunC support this, is it a valid line of FunC code?


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

  
  
Posted one year ago
Votes Newest

Answers


Yes, it's supported, and your code is valid. enough? will be an integer, with value -1.

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