FBInstant.context.isSizeBetween

From GiderosMobile
Revision as of 11:03, 23 August 2018 by Hgy29 (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2018.3<br/> === Description === <br /> This function determines whether the number of participants in the current game context is betw...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2018.3

Description


This function determines whether the number of participants in the current game context is between a given minimum and maximum, inclusive. If one of the bounds is null only the other bound will be checked against. It will always return the original result for the first call made in a context in a given game play session. Subsequent calls, regardless of arguments, will return the answer to the original query until a context change occurs and the query result is reset.

(table), = FBInstant.context.isSizeBetween(minSizemaxSize,)

'minSize: (number) The minimum bound of the context size query. '
'maxSize: (number) The maximum bound of the context size query. '
Returns (table) Table containing answers to the query.