Namespaces
Methods
-
vcs.deepForEach(iterable, fn)
-
calls the callback Function for Each nested Element in the Object or Array
Name Type Description iterableObject | Array.<*> Object or Array to iterate over
fnfunction function to be called for each element
-
vcs.eventCannotBeFromMap(event){boolean}
-
Checks whether an HTMLEvent cannot possibly be called from within the maps focus. It may still not be the maps focus, check is not extensive.
Name Type Description eventEvent -
vcs.isEmail(email){boolean}
-
Test whether a string is an email address or not
Name Type Description emailstring -
vcs.parseBoolean(value, defaultValue){boolean}
-
parses a boolean value from an arbitrary datatype
Name Type Description value* defaultValueboolean -
vcs.parseEnumValue(value, enumValues, defaultValue){T}
-
checks if a value is a member of an enum otherwise returns the defaultValue. Enums of type number or string
Name Type Description value* enumValuesObject.<T> defaultValueT
virtualcityMAP 3.6