Classifies an object using the installed taxonomy in order to derive an "Object Key".

 

Syntax

var objKey = NEXUS.classify(obj);

Parameters

ParameterMandatoryTypeNotesNEXUS Version
obj(tick)ObjectThe object to classify, preferably something the installed classification taxonomy will understand!

v0.1

Return value

ValueTypeNotesNEXUS Version
<object key>String

If the object can be classified, it's "object key" will be returned as a string.

v0.1
<error>ErrorIs it a bird? Is it a plane? No, it's an Incoming. Laser. Satellite. Strike.v0.1 and above

Example

// assuming we have at least one droid
var myDroid = enumDroid(me)[0];
var objKey = NEXUS.classify(myDroid);

See also

A Classify Subroutine must be installed before you can use this function. 

Contents

Assimilate:

 

API Browser

Observe: