Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
set(keyPath: string, val: mixed): boolean {
assert(
this.token,
"Cannot access token before loaded, please use this plugin before any of it's dependencies"
);
if (this.token) {
return set(this.token, getFullPath(keyPath), val);
} else return false;
}
}