-
-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comariang data #1497
Comments
https://github.com/samchon/nestia/blob/master/packages/e2e/src/internal/json_equal_to.ts Not okay with this function? Transformed comparator is really required? |
Usually I use deepEquals / shallowEquals. But directly comparing should be faster I think Maybe I didn't get what you mean, could you rephrase your message? Sorry I am not native english speaker 😅 |
Oops, missed link https://github.com/samchon/nestia/blob/master/packages/e2e/src/internal/json_equal_to.ts I can design the new function interface what you want, but I am concentrating the AI chatbot feature development, so if you want that feature, you should challenge the implementation by yourself |
I can't use the function because it's internal and it can throw exception |
// src/compare.ts
export namespace compare {
export function covers<T>(x: T, y: T): boolean;
export function equals<T>(x: T, y: T): boolean;
export function less<T>(x: T, y: T): boolean;
}
// test.ts
typia.compare.covers(x, y); I think this interface seems suitable for your feature. |
could you explain how must work "covers" and "less" with objects / arrays? |
I think let's start with |
Hello,
I use
typia
and noticed that it would be great to have able to compareA
andB
How it could be:
Compare unwraps in:
The text was updated successfully, but these errors were encountered: