src/check-types.js
function all (data) {
    if (array(data)) {
      return testArray(data, false);
    }

    assert.object(data);

    return testObject(data, false);
  }
function all (data) {
    if (array(data)) {
      return testArray(data, false);
    }

    assert.object(data);

    return testObject(data, false);
  }
function all ( data ) { if ( array ( data ) ) { return testArray ( data , false ) ; } assert . object ( data ) ; return testObject ( data , false ) ; }
Public function `all`

Check that all boolean values are true
in an array (returned from `apply`)
or object (returned from `map`).
Public function all