Leo's Array Functions partition(inputArr, fn) ⇒ Kind: global function Returns: an array containing one array with all elements that pass a test, one with all elements that fail the test Param inputArr fn Done in 0.30s.