MCPcopy
hub / github.com/bberak/react-native-game-engine / getEntitiesFromProps

Function getEntitiesFromProps

src/GameEngine.js:7–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5import DefaultTouchProcessor from "./DefaultTouchProcessor";
6
7const getEntitiesFromProps = props =>
8 props.initState ||
9 props.initialState ||
10 props.state ||
11 props.initEntities ||
12 props.initialEntities ||
13 props.entities;
14
15const isPromise = obj => {
16 return !!(

Callers 1

componentDidMountMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected