Skip to content

fix: fix the boil function example code#450

Open
Yukiniro wants to merge 1 commit into
sodiray:masterfrom
Yukiniro:djwiox0h
Open

fix: fix the boil function example code#450
Yukiniro wants to merge 1 commit into
sodiray:masterfrom
Yukiniro:djwiox0h

Conversation

@Yukiniro

Copy link
Copy Markdown

Description

const greatest = () => boil(numbers, (a, b) => a > b)

The greatest is boolean not a number.

And it should be bellow code

const greatest = () => boil(numbers, (a, b) => a > b ? a : b)

Checklist

  • Changes are covered by tests if behavior has been changed or added
  • Tests have 100% coverage
  • If code changes were made, the version in package.json has been bumped (matching semver)
  • If code changes were made, the yarn build command has been run and to update the cdn directory
  • If code changes were made, the documentation (in the /docs directory) has been updated

Resolves

If the PR resolves an open issue tag it here. For example, Resolves #34

@vercel

vercel Bot commented Mar 17, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
radash-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 17, 2025 3:42am

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