title: Struct that only accepts boolean values
body: <p>How would I make a struct that only takes a value if it's a boolean </p>
  
  <pre><code>(struct mystruct [val]  //only take val if it's a boolean )
  </code></pre>