Sobes.tech
Junior

How to properly name properties that return a true or false value?

sobes.tech AI

Answer from AI

Uses the prefix is, has, or can.

Examples:

  • isActive
  • hasData
  • canSubmit