Skip to content

Adjust prefix copy to account for predicates#64

Open
msutkowski wants to merge 1 commit intokettanaito:mainfrom
msutkowski:is-prefix-typepredicates
Open

Adjust prefix copy to account for predicates#64
msutkowski wants to merge 1 commit intokettanaito:mainfrom
msutkowski:is-prefix-typepredicates

Conversation

@msutkowski
Copy link
Copy Markdown

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

Comment thread README.md
## 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.
Copy link
Copy Markdown

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.

2 participants