wonder.js
Version:
17 lines (12 loc) • 718 B
JavaScript
;
var Js_option = require("bs-platform/lib/js/js_option.js");
var MutableSparseMapService$WonderCommonlib = require("wonder-commonlib/lib/js/src/MutableSparseMapService.js");
function doesGameObjectHasIsRootData(gameObjectIndex, gameObjects) {
return Js_option.isSome(MutableSparseMapService$WonderCommonlib.get(gameObjectIndex, gameObjects[/* isRoots */2]));
}
function unsafeGetGameObjectIsRootData(gameObjectIndex, gameObjects) {
return MutableSparseMapService$WonderCommonlib.unsafeGet(gameObjectIndex, gameObjects[/* isRoots */2]);
}
exports.doesGameObjectHasIsRootData = doesGameObjectHasIsRootData;
exports.unsafeGetGameObjectIsRootData = unsafeGetGameObjectIsRootData;
/* No side effect */