diff --git a/README.md b/README.md index 1caeec0..330575d 100644 --- a/README.md +++ b/README.md @@ -142,7 +142,7 @@ type res5 = Pipe< - [x] `Parameter`: Extract the parameter at index `N` from a function type. - [x] `MapReturnType`: Transform the return type of a function type using an `Fn`. - [x] `MapParameters`: Transform the tuple of parameters of a function type using an `Fn`. -- [ ] Tuples +- [x] Tuples - [x] `Create -> [X]`: Create a unary tuple from a type. - [x] `Partition`: Using a predicate `Fn`, turn a list of types into two lists `[Passing[], Rejected[]]`. - [x] `IsEmpty`: Check if a tuple is empty. @@ -176,7 +176,7 @@ type res5 = Pipe< - [x] `Min`: Returns the minimum number in a list of number literal types. - [x] `Max`: Returns the maximum number in a list of number literal types. - [x] `Sum`: Add all numbers in a list of number literal types together. -- [ ] Object +- [x] Object - [x] `Readonly`: Makes all object keys `readonly`. - [x] `Mutable`: Removes `readonly` from all object keys. - [x] `Required`: Makes all keys required. @@ -186,7 +186,7 @@ type res5 = Pipe< - [x] `RequiredDeep`: Recursively makes all keys required. - [x] `PartialDeep`: Recursively makes all keys optional. - [x] `Update`: Immutably update an object's field under a certain path. Paths are dot-separated strings: `a.b.c`. - - [x] `Record`: Creates an object type with keys of type Key and values of type Value. + - [x] `Record`: Creates an object type with keys of type `Key` and values of type `Value`. - [x] `Keys`: Extracts the keys from an object type `Obj`. - [x] `Values`: Extracts the values from an object type `Obj`. - [x] `AllPaths`: Extracts all possible paths of an object type `Obj`. @@ -201,9 +201,9 @@ type res5 = Pipe< - [x] `MapValues`: Transforms the values of an object type `Obj` using a mapper function `Fn`. - [x] `MapKeys`: Transforms the keys of an object type `Obj` using a mapper function `Fn`. - [x] `Assign<...Obj>`: Merges multiple objects together. - - [x] `Pick`: Picks specific keys Key from an object type `Obj`. + - [x] `Pick`: Picks specific keys `Key` from an object type `Obj`. - [x] `PickBy`: Picks keys from an object type `Obj` based on a predicate function `Fn`. - - [x] `Omit`: Omits specific keys Key from an object type `Obj`. + - [x] `Omit`: Omits specific keys `Key` from an object type `Obj`. - [x] `OmitBy`: Omits keys from an object type `Obj` based on a predicate function `Fn`. - [x] `CamelCase`: Converts the keys of an object type `Obj` to camelCase. - [x] `CamelCaseDeep`: Recursively converts the keys of an object type `Obj` to camelCase. @@ -211,7 +211,7 @@ type res5 = Pipe< - [x] `SnakeCaseDeep`: Recursively converts the keys of an object `type` Obj to snake_case. - [x] `KebabCase`: Converts the keys of an object type `Obj` to kebab-case. - [x] `KebabCaseDeep`: Recursively converts the keys of an object type Obj to kebab-case. -- [ ] Union +- [x] Union - [x] `Map`: Transforms each member of a union type `U` using a mapper function `Fn`. - [x] `Extract`: Extracts the subset of a union type `U` that is assignable to type `T`. - [x] `ExtractBy`: Extracts the subset of a union type`U`that satisfies the predicate function `Fn`. @@ -220,7 +220,7 @@ type res5 = Pipe< - [x] `NonNullable`: Removes null and undefined from a union type `U`. - [x] `ToTuple`: Converts a union type`U`to a tuple type. - [x] `ToIntersection`: Converts a union type`U`to an intersection type. -- [ ] String +- [x] String - [x] `Length`: Returns the length of a string type `Str`. - [x] `TrimLeft`: Removes the specified character from the left side of a string type `Str`. - [x] `TrimRight`: Removes the specified character from the right side of a string type `Str`. @@ -251,7 +251,7 @@ type res5 = Pipe< - [x] `LessThanOrEqual`: Checks if `Str1` is less than or equal to `Str2` in lexicographical order. - [x] `GreaterThan`: Checks if `Str1` is greater than `Str2` in lexicographical order. - [x] `GreaterThanOrEqual`: Checks if `Str1` is greater than or equal to `Str2` in lexicographical order. -- [ ] Number +- [x] Number - [x] `Add`: Adds two number types `N` and `M`. - [x] `Multiply`: Multiplies two number types `N` and `M`. - [x] `Subtract`: Subtracts the number type `M` from `N`. @@ -265,7 +265,7 @@ type res5 = Pipe< - [x] `GreaterThanOrEqual`: Checks if the number type `N` is greater than or equal to `M`. - [x] `LessThan`: Checks if the number type `N` is less than `M`. - [x] `LessThanOrEqual`: Checks if the number type `N` is less than or equal to `M`. -- [ ] Boolean +- [x] Boolean - [x] `And`: Performs a logical AND operation between two boolean types `Bool1` and `Bool2`. - [x] `Or`: Performs a logical OR operation between two boolean types `Bool1` and `Bool2`. - [x] `XOr`: Performs a logical XOR (exclusive OR) operation between two boolean types `Bool1` and `Bool2`.