How to use the validateNamespace function from bindings

Find comprehensive JavaScript bindings.validateNamespace code examples handpicked from public code repositorys.

85
86
87
88
89
90
91
92
93
94
validateNamespace(namespace) {
  if (typeof namespace !== 'string') {
    throw new TypeError('Invalid argument');
  }

  let result = rclnodejs.validateNamespace(namespace);
  if (result === null) {
    return true;
  }
  throw this._createErrorFromValidation(result);
fork icon65
star icon254
watch icon27

Other functions in bindings

Sorted by popularity

function icon

bindings.createKey is the most popular function in bindings (8616 examples)