Package: @effect/printer
Module: Layout
Decides whether a DocStream fits the given constraints, namely:
DocStream if it starts with
a line break (used by layoutSmart)Signature
export interface FittingPredicate<A> {
(
stream: DocStream<A>,
indentation: number,
currentColumn: number,
comparator: LazyArg<DocStream<A>>
): boolean
}
Since v1.0.0