Skip to content

Instantly share code, notes, and snippets.

@mjparme
Last active October 12, 2021 18:38
Show Gist options
  • Select an option

  • Save mjparme/7d3648c62b35b048babe0cf34f0a90c3 to your computer and use it in GitHub Desktop.

Select an option

Save mjparme/7d3648c62b35b048babe0cf34f0a90c3 to your computer and use it in GitHub Desktop.
someVar = adjustedUSize == 2
? stabilizerDistances[0]
: keyUSize == 3
? stabilizerDistances[1]
: keyUSize == 6.25
? stabilizerDistances[2]
: keyUSize == 7
? stabilizerDistances[3]
: keyUSize > 7 && keyUSize < 11
? stabilizerDistances[4]
: 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment