Last active
January 9, 2017 16:26
-
-
Save bdavidxyz/fcf0c85fcf3df127a0eefd4f8b60c757 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// check pre-conditions | |
if (_(proposals).isEmpty()) return []; | |
if (_(proposals).isNotArrayOfString()) return []; | |
if (_(answers).isNotArrayOfBoolean()) return []; | |
if (_(answers).size() > _(proposals).size()) return []; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment