progress
This commit is contained in:
parent
50822a031d
commit
d8b5018cb2
69 changed files with 3302 additions and 3652 deletions
|
@ -23,6 +23,7 @@ declare global {
|
|||
repeat(quantity: number): Array<T>;
|
||||
rFind<T>(predicate: (value: T, index: number, obj: never[]) => boolean, thisArg?: any): Result<void, T>;
|
||||
maxLength(length: number): Array<T>;
|
||||
add(element: T): Array<T>;
|
||||
}
|
||||
interface Number {
|
||||
fromArray(): number[];
|
||||
|
@ -34,12 +35,13 @@ declare global {
|
|||
isNegative(): boolean;
|
||||
isEven(): boolean;
|
||||
isOdd(): boolean;
|
||||
isEqualR(num: number): Result<void, void>;
|
||||
isEqualR(number: number): Result<void, void>;
|
||||
}
|
||||
|
||||
interface String {
|
||||
isEmpty(): boolean;
|
||||
isNotEmpty(): boolean;
|
||||
isNotEmptyR(): Result<void, string>;
|
||||
replaceMany(searchValues: string[], replaceValue: string): string;
|
||||
isEqual(str: string): boolean;
|
||||
isEqualMany(str: string[]): boolean;
|
||||
|
@ -58,6 +60,9 @@ declare global {
|
|||
getPredicateValue(callBack: (value: V) => boolean): K[];
|
||||
incrementValue(key: K): void;
|
||||
}
|
||||
interface Boolean {
|
||||
r(): Result<void, void>;
|
||||
}
|
||||
}
|
||||
export const extensions = () => {
|
||||
StringExtensions();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue