Add item if not already in array
Return first element matching predicate
Return index of first element matching predicate
Remove items from the array
item to remove, or function to determine matching item
true to keep removing after first match, false otherwise
Combine array elements using the callback. Returns array with length == min(a1.length, a2.length)
Copy properties from source to target. Returns target.
format("a %1 and a %2", "cat", "dog") -> "a cat and a dog"
Returns an array for a source and a prop, and creates the prop if needed.
Return an array of property values from source
a version of Array.map that doesn't require an array, i.e. works on arrays and scalars.
Remember & return the value of fn() when it was called with its current args
can be used like persons.map(pluck("firstName"))
can be used like: persons.filter(propEq("firstName", "John"))
can be used like: persons.filter(propEq("firstName", "FirstName", "John"))
Calls requireLibCore on semicolon-separated libNames
Returns the 'libName' module if loaded or else returns undefined
Resolves the values of a list of properties by checking each property in multiple sources until a value is found.
Set ctor.defaultInstance to an instance of ctor with properties from target. We want to insure that the object returned by ctor.defaultInstance is always immutable Use 'target' as the primary template for the ctor.defaultInstance; Use current 'ctor.defaultInstance' as the template for any missing properties creates a new instance for ctor.defaultInstance returns target unchanged
Safely perform toJSON logic on objects with cycles.
Replacer function for toJSONSafe, when serializing entities. Excludes entityAspect and other internal properties.
'source' is an object that will be transformed into another 'template' is a map where the keys: are the keys to return if a key contains ','s then the key is treated as a delimited string with first of the keys being the key to return and the others all valid aliases for this key 'values' are either
Copy properties from defaults iff undefined on target. Returns target.
Execute fn while obj has tempValue for property
Call state = startFn(), call fn(), call endFn(state)
An Event that fires whenever the contents of this array changed. This event is fired any time a new entity is attached or added to the EntityManager and happens to belong to this collection. Adds that occur as a result of query or import operations are batched so that all of the adds or removes to any individual collections are collected into a single notification event for each relation array.
An Event that fires whenever the contents of this array changed. This event is fired any time a new entity is attached or added to the EntityManager and happens to belong to this collection. Adds that occur as a result of query or import operations are batched so that all of the adds or removes to any individual collections are collected into a single notification event for each relation array.
Performs an asynchronous load of all other the entities associated with this relationArray.
Generated using TypeDoc
Change text to title case with spaces, e.g. 'myPropertyName12' to 'My Property Name 12'