code: function split (splitBy, string) {
    return (typeof splitBy === 'function')
    ? predicate(splitBy, string)
    : string.split(splitBy)
  }
docs: A curried `String.prototype.split` with support
  for splitting by String, RegExp, or Function.
  
  @param {String|RegExp|Function} splitBy
  String, RegExp, or Function to split by.
  
  @param {String} string
  String to split.
  
  @return {Array}
  List of split string parts.