_kind

What kind of Thing is this? -- Function
There are two ways to use _kind: THING -> _kind -> Number
This function produces the Number that represents the "kind" of the received Thing. The Kinds are:
  • Thing: 0
  • Type: 1
  • Property: 2
  • Space: 3
  • Collection: 4
By and large, though, you should never use these numbers directly. Instead, use the second form of this method: _kind(KIND) -> Number The KIND parameter should be exactly one of the above names.
So for example, you can test whether the incoming Thing is a Property by saying: ... -> if(equals(_kind, _kind(Property)), ...)