angular-package
TwitterGitHub
Designing
Designing
  • Introduction
  • Definitions
    • Adjective: noun
    • Cohesion: noun
    • Cohesive: adjective
    • Cohesiveness: noun
    • Complex: adjective, noun
    • Complexity: noun
    • Consistency: noun
    • Consistent: adjective
    • Constantly: adverb
    • Diagnosis: noun
    • Functional: adjective
    • Functionality: noun
    • Get: verb
    • Have: verb
    • Immutable: adjective
    • Independent
    • Interdependence
    • Intuition: noun
    • Intuitive: adjective
    • Intuitiveness: noun
    • Is: verb
    • Logic: noun
    • Minimalism: noun
    • Mutable: adjective
    • Noun: noun
    • Phrase: noun, verb
    • Prefix: noun, verb
    • Preposition: noun
    • Purpose: noun
    • Replace: verb
    • Set: verb
    • Simplicity: noun
    • Suffix: noun, verb
    • Text: noun, verb
    • To: preposition
    • Verb: noun
  • Principles
    • String Wrapper Objects
  • Design processes
    • String Wrapper Objects
      • Methods usage analysis
      • Relevant questions
      • Investigation
      • Method names analysis
    • Wrap {}
      • Analysis
      • Accessors
      • Properties
      • Methods
        • hasOpening()
        • isWrapped()
    • Wrapper
  • Benefits
    • String Wrapper Object
      • Explanation
  • Other
    • @ Contact
    • ฿ Donate
Powered by GitBook
On this page

Was this helpful?

  1. Design processes
  2. Wrap {}

Methods

The final names for the methods of the 'Wrap' instance

PreviousPropertiesNexthasOpening()

Last updated 3 years ago

Was this helpful?

The final proposal for method names of the Wrap instance. The methods having some explanation can be clicked.

Instance method names

Name
Description

get()

Gets the primitive value.

getClosing()

Gets the closing chars.

getOpening()

Gets the opening chars.

getText()

Gets the text.

hasClosing()

Checks whether the object has the closing.

Checks whether the object has the opening.

hasText()

Checks whether the object has the text.

Checks whether object has the opening and closing chars.

replaceClosing()

Returns the primitive value with replaced closing chars.

replaceOpening()

Returns the primitive value with replaced opening chars.

replaceText()

Returns the primitive value with replaced text.

toString()

Returns the primitive value.

valueOf()

Returns the primitive value.

hasOpening()
isWrapped()