Skip to main content Link Search Menu Expand Document (external link)

ValueOrder overview

Module that implements an Order on Value.All


Table of contents


Models

Type (interface)

Type of an Order on a Value.All

Signature

export interface Type extends Order.Order<PPValue.All> {}

Ordering

byCallability

Order instance based on the callability of the content property (non functions first, then functions)

Signature

export declare const byCallability: Type

byEnumerability

Order instance based on the enumerability of the property to which the value belongs (non-enumerable keys first, then enumerable keys)

Signature

export declare const byEnumerability: Type

byKeyType

Order instance based on the type of the key associated to the value (symbolic keys first, then string keys)

Signature

export declare const byKeyType: Type

byOneLineStringKey

Order instance based on the oneLineStringKey property

Signature

export declare const byOneLineStringKey: Type

byProtoDepth

Order instance based on the protoDepth property, lowest depth first

Signature

export declare const byProtoDepth: Type