Skip to content
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

Feature/iter cunone #2613

Closed

Commits on Jul 15, 2024

  1. issue#1632 resolved

    ruthwikchikoti committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    2786956 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. feat(iter): add iterCuNone function

    Implement iterCuNone to create an iterator which cumulatively tests
    whether every iterated value is falsy. This new function:
    
    - Takes an input iterator
    - Returns a new iterator that yields boolean values
    - Continues yielding  while all values are falsy
    - Yields  once a truthy value is encountered
    - Handles both iterable and non-iterable input iterators
    
    Includes:
    - Main implementation
    - TypeScript typings
    - Tests
    - Benchmarks
    - Example usage
    - Documentation
    
    Closes stdlib-js#2333
    ruthwikchikoti committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    e869302 View commit details
    Browse the repository at this point in the history