wonder.js
Version:
17 lines (12 loc) • 734 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 doesGameObjectHasIsActiveData(gameObjectIndex, gameObjects) {
return Js_option.isSome(MutableSparseMapService$WonderCommonlib.get(gameObjectIndex, gameObjects[/* isActives */3]));
}
function unsafeGetGameObjectIsActiveData(gameObjectIndex, gameObjects) {
return MutableSparseMapService$WonderCommonlib.unsafeGet(gameObjectIndex, gameObjects[/* isActives */3]);
}
exports.doesGameObjectHasIsActiveData = doesGameObjectHasIsActiveData;
exports.unsafeGetGameObjectIsActiveData = unsafeGetGameObjectIsActiveData;
/* No side effect */