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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust prefix copy to account for predicates #64

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

msutkowski
Copy link
Sponsor

Was reviewing this, and though it'd make sense to add that it's common to see predicates like isSomeKnownType() 馃帀

@@ -285,7 +299,7 @@ function getRecentPosts(posts) {

## Prefixes

Prefix enhances the meaning of a variable. It is rarely used in function names.
A prefix enhances the meaning of a variable. They are rarely used in function names, unless the given function is a [predicate](https://www.typescriptlang.org/docs/handbook/advanced-types.html#using-type-predicates.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think "prefix" should be written and referred either singular or plural 馃

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.

None yet

2 participants