@parischap/pretty-print
Version:
A functional library to pretty-print and treeify objects
18 lines • 680 B
TypeScript
/** This module implements a Type that represents an array of ByPasser's (see ByPasser.ts) */
import * as PPByPasser from './ByPasser.js';
/**
* Type of a ByPassers
*
* @category Models
*/
export interface Type extends ReadonlyArray<PPByPasser.Type> {
}
/**
* Returns a ByPasser that is equivalent to `self`. The returned ByPasser executes successively each
* ByPasser of `self` until it meets one that returns a `some`. If such a ByPasser exists, the
* corresponding `some` is returned. Otherwise, it returns a `none`.
*
* @category Destructors
*/
export declare const toSyntheticByPasser: (self: Type) => PPByPasser.Action.Type;
//# sourceMappingURL=ByPassers.d.ts.map