keyOf
Extract the key from a entity object.
Parameters:
No. |
Type |
Comments |
1 |
entity o |
Entity to get key of |
Returns:
key?
The extracted key. Note the result is
optional, and none
is returned if the entity is a keyless entity.
Usages:
keyOf( e : $entity ) : $key