index.js
function location(location) {
  if (location != null) {
    assert.ok(object(location), '`position` should be an object')

    position(location.start, 'position.start')
    position(location.end, 'position.end')
  }
}
function location(location) {
  if (location != null) {
    assert.ok(object(location), '`position` should be an object')

    position(location.start, 'position.start')
    position(location.end, 'position.end')
  }
}
function location ( location ) { if ( location != null ) { assert . ok ( object ( location ) , '`position` should be an object' ) position ( location . start , 'position.start' ) position ( location . end , 'position.end' ) } }
/* Assert `location` is a Unist Location.
/ * Assert location is a Unist Location .