import { not } from "../../Function"
import { drop_ } from "./drop"
import { dropWhile_ } from "./dropWhile"
/**
 * Drops all elements of the stream until the specified predicate evaluates
 * to `true`.
 */

export function dropUntil_(self, pred) {
  return drop_(dropWhile_(self, not(pred)), 1)
}
/**
 * Drops all elements of the stream until the specified predicate evaluates
 * to `true`.
 */

export function dropUntil(pred) {
  return (self) => dropUntil_(self, pred)
}
//# sourceMappingURL=dropUntil.js.map
