❤ Benefits

Under the hood of some packages are primitive wrapper objectsarrow-up-right, and below is a list containing some pros of using them and of important design benefits.

All this above is in a minimal, simple to use, and ease-extendable form of objects.

chevron-rightImmutabilityhashtag

Immutablearrow-up-right primitive value of primitive wrapper objectsarrow-up-right.

Some methods return converted primitive value to a form of an immutablearrow-up-right object or array.

Use the getarrow-up-right accessors to return parts of the primitivearrow-up-right value of a specified object.

chevron-rightPartial primitive value with the exact return typehashtag

A primitivearrow-up-right value is divided into private properties of generic type variablesarrow-up-right.

A primitivearrow-up-right value type is built of generic type variables on the template literalarrow-up-right, which results in the exact return type rather than just a string.

The ability to get part of the primitive value of the exact return type.

chevron-rightObject as typeshashtag

Specific in functionality objects with generic type variables(which preserves type), act as precise types.

Objects have changed a Symbol.toStringTagarrow-up-right to unique immutable names.

Type of the objects can be detected by the Object.prototype.toString.call()arrow-up-right. because of its uniqueness and immutability.

There is typeOf() function of angular-package/type to detect these objects type.

chevron-rightFunctionality follows the typehashtag

The most important functionalities, dedicated to a specific name.

Objects have functionalities that use their parts of immutablearrow-up-right primitive values.

chevron-rightIntuitivenesshashtag

General and intuitive object names.

Intuitive names of generic type variables.

Intuitive accessor and property names.

Intuitive method names.

chevron-rightMinimalism and simplicityhashtag

Minimal, simple to use and an ease-extendable objects.

Last updated