GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing angular.dev — KeyValuePipe • Angular API @returns KeyValuePipe@paraminput ReadonlyMap<K, V>@returns KeyValue<K, V>[]@paraminput Record<K, V> | ReadonlyMap<K, V>@returns KeyValue<K, V>[]@paraminput Record<K, V>@returns KeyValue<string, V>[]@paraminput null | undefined@paramcompareFn ((a: KeyValue<unknown, unknown>, b: KeyValue<unknown, unknown>) => number) | null | undefined@returns null@paraminput ReadonlyMap<K, V> | null | undefined@returns KeyValue<K, V>[] | null@paraminput Record<K, V> | ReadonlyMap<K, V> | null | undefined@returns KeyValue<K, V>[] | null@paraminput Record<K, V> | null | undefined@returns KeyValue<string, V>[] | null@paraminput T@paramcompareFn (T extends object ? (a: T[keyof T], b: T[keyof T]) => number : never) | undefined@returns T extends object ? KeyValue<keyof T, T[keyof T]>[] : nullDescriptionTransforms Object or Map into an array of key value pairs. The output array will be ordered by keys.
By default the comparator will be by Unicode point value.
You can optionally pass a compareFn if your keys are complex types.
Passing Exported byUsage NotesExamplesThis examples show how an Object or a Map can be iterated by ngFor with the use of this keyvalue pipe.
|
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |