Changes

Jump to navigation Jump to search
m
no edit summary
Line 12: Line 12:  
to check the last value in a location given by a preceding array of internal paths to find, with the possibility of array layers between elements of array of paths:  
 
to check the last value in a location given by a preceding array of internal paths to find, with the possibility of array layers between elements of array of paths:  
 
wbproc.checkentity( [ wbEStruct['instanceOfRelations'], wbEStruct['IDPropLoc'], wbEStruct['IDName'], 96 ] );
 
wbproc.checkentity( [ wbEStruct['instanceOfRelations'], wbEStruct['IDPropLoc'], wbEStruct['IDName'], 96 ] );
 +
 +
to return for example content of default value given by array of location paths, or check for existence of
 +
wbproc.checkentity( { default_value: [ wbEStruct['defaultValRelation'], wbEStruct['IDPropLoc'] ] } )
 +
    
*/
 
*/
Line 62: Line 66:  
console.log("instructions are an array of arrays, going through " + read[ path ][ path2 ] );
 
console.log("instructions are an array of arrays, going through " + read[ path ][ path2 ] );
 
 
if ( data_function( future_return_partition, read[ path ][ path2 ] ) !== future_return_partition ){
+
if ( data_function( future_return_partition, read[ path ][ path2 ] ) != future_return_partition ){
 
future_return_partition = data_function( future_return_partition, read[ path ][ path2 ] );
 
future_return_partition = data_function( future_return_partition, read[ path ][ path2 ] );
 
} else {
 
} else {
Line 181: Line 185:  
//|||||||||||||||||||||||||||||||||||||||||||||||||||||[  E N D  O F  S T E P  B L O C K    ]|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 
//|||||||||||||||||||||||||||||||||||||||||||||||||||||[  E N D  O F  S T E P  B L O C K    ]|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
   −
wbContainer.prototype.xcontains = function ( unv, angle ) {
+
this.xcontains = function ( unv, angle ) {
  return proceed( unv, angle );
+
if ( ( unv !== undefined ) && ( angle !== undefined ) ){
 +
return proceed( unv, angle );
 +
};
 
}
 
}
   Line 217: Line 223:  
console.log('not a json ¯\_(ツ)_/¯');
 
console.log('not a json ¯\_(ツ)_/¯');
 
};
 
};
}
+
}  
 +
 
}
 
}
530

edits

Navigation menu