Skip to content

Conversation

msutkowski
Copy link

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

## 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.

2 participants