Skip to content

Add AndAll and OrAll types #1154

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

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Conversation

benzaria
Copy link
Contributor

@benzaria benzaria commented May 26, 2025

External:

  • Adding AndAll Returns a boolean for whether All given types are true.
  • Adding OrAll Returns a boolean for whether either of All given types are true.
  • Changing: And<A, B>, Or<A, B> to use AndAll<[A, B]>, OrAll<[A, B]>.

Internal:

  • Adding IsTrue Check if all value in giving union are true,
  • Adding IsFalse Check if all value in giving union are false,
  • Adding IsAnyOrNever Check if a value Any or Never,
  • Adding Extends Check if value A extends value B,

Note

Xor, XorAll: depends on #1155

benzaria and others added 4 commits May 26, 2025 22:06
 **External**:
 - Adding `AndAll` Returns a boolean for whether All given types are true.
 - Adding `OrAll` Returns a boolean for whether either of All given types are true.

 **Internal**:
 - Adding `IsTrue` Check if all value in giving union are true,
 - Adding `IsFalse` Check if all value in giving union are false,
 - Adding `IsAnyOrNever` Check if a value Any or Never,
 - Adding `Extends` Check if value A extends value B,
@benzaria
Copy link
Contributor Author

benzaria commented Jun 1, 2025

@som-sm can u review Please. Thanks a lot!

@benzaria benzaria marked this pull request as draft June 11, 2025 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant