toOid
Creates an OID object.
Syntax
params.toOid (OID);
Parameters
Parameter |
Type |
Required |
Description |
OID |
String |
Yes |
The value of the new OID object. |
Returns
N/A
Example
This example is a function that uses the toOid function to create an OID with the value
'my.special.oid', then uses the getOid function to returnthe OID value.
functionlookForSpecificOid(myParam)
{
var myOID = params.toOid('my.special.oid'); return myParam.getOid() == myOID;
}