register

Register data inta a object storage identified by it's type.

Wraps up any copy-by-value data into an object, and saves it into storage by it's type.

Parameters

Type

the type of object registered in storage

storage Storage!(Object, string)

the storage were data is saved

data Type

actual data to be saved

Return Value

Type: auto

the storage were data was saved.

Meta