You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 28, 2023. It is now read-only.
Andrew Redican edited this page Dec 16, 2017
·
3 revisions
identities
It is a word used a lot throughout the documentation, thus it deserves some clarification. An identity is any sort of data, could be a collection, a string, a number, anything. In other words, an identity is data with unknown datatype or value. An identityis not a key name.
null , undefined , false ,
0 , 1 , 2 , 3 ,
'four' ,
[5,'six'] ,
{seven:'7'}, { A: ['Hello','World'] } .. and the list goes on, are all perfect examples of identities..
seven, however, referring to the key 'seven' in { seven: '7' } is not an identity.
We make distinction of this, not due to a philosophy of some sort, but rather a more technical reason.
collection
It is a word to describe an identity that is iterable, in other words, that contains keys, whether it be an array with items or an object with properties. A collection is also usually referred to as the data that gets inspected by a mitsuketa function.