@parischap/pretty-print
Version:
A functional library to pretty-print and treeify objects
44 lines • 1.16 kB
TypeScript
/** Module that implements an Order on Value.All */
import { Order } from 'effect';
import * as PPValue from './Value.js';
/**
* Type of an Order on a Value.All
*
* @category Models
*/
export interface Type extends Order.Order<PPValue.All> {
}
/**
* Order instance based on the `protoDepth` property, lowest depth first
*
* @category Ordering
*/
export declare const byProtoDepth: Type;
/**
* Order instance based on the `oneLineStringKey` property
*
* @category Ordering
*/
export declare const byOneLineStringKey: Type;
/**
* Order instance based on the callability of the `content` property (non functions first, then
* functions)
*
* @category Ordering
*/
export declare const byCallability: Type;
/**
* Order instance based on the type of the key associated to the value (symbolic keys first, then
* string keys)
*
* @category Ordering
*/
export declare const byKeyType: Type;
/**
* Order instance based on the enumerability of the property to which the value belongs
* (non-enumerable keys first, then enumerable keys)
*
* @category Ordering
*/
export declare const byEnumerability: Type;
//# sourceMappingURL=ValueOrder.d.ts.map