nl_tokens: Convert a string formatted OID to an array leaving anything non - string alone .
pl_tokens: function parseSingleOid ( oid ) { if ( typeof oid !== 'string' ) { return oid ; } if ( oid [ 0 ] !== '.' ) { throw new Error ( 'Invalid OID format' ) ; } oid = oid . split ( '.' ) . <mask> ( function ( s ) { return s . length > 0 ; } ) . map ( function ( s ) { return parseInt ( s , 10 ) ; } ) ; return oid ; }