mirror of
https://kevinblog.sytes.net/Code/Jibo-Revival-Group/RoboCommander.git
synced 2026-06-16 06:56:01 +00:00
Initial commit
This commit is contained in:
8
node_modules/d3-hierarchy/src/accessors.js
generated
vendored
Normal file
8
node_modules/d3-hierarchy/src/accessors.js
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
export function optional(f) {
|
||||
return f == null ? null : required(f);
|
||||
}
|
||||
|
||||
export function required(f) {
|
||||
if (typeof f !== "function") throw new Error;
|
||||
return f;
|
||||
}
|
||||
Reference in New Issue
Block a user