diginext-pixi
Version:
README.md
1 lines • 281 B
JavaScript
;Object.defineProperty(exports,"__esModule",{value:!0});const getChildByProp=(e,r,t)=>{if(!e)return null;if(e[r]===t)return e;for(let l=0,i=e.children.length;l<i;l++){const i=e.children[l],o=getChildByProp(i,r,t);if(void 0!==o)return o}};exports.default=getChildByProp;