springroll.pbskids.EventUtils Class
Utility class for handling events
_validate
private
Do the actual type validation on a specific value
Parameters:
-
type
String | Array
The type of value, if an array a set of valid items
-
value
The value to test against
-
args
Array
The list of properties to validate if a typed object
argsMap
Object
static
Convert an array of input arguments into a data map
Returns:
Object:
The validated event data object
validate
Object
static
Returns:
Object:
The validated event data object