Calls a given function on each element of an array
Legato.Lang.CollectionUtils.each = function( array, func )
Checks if given argument is an array, throws {Legato.Lang.IllegalArgumentException} otherwise.
ensureArray : function( value, message )
Checks if given argument exists (not null, not undefined), throws {Legato.Lang.IllegalArgumentException} otherwise.
ensureExists : function( value, message )
Checks if given argument is the boolean value “false”., throws {Legato.Lang.IllegalArgumentException} otherwise.
ensureFalse : function( value, message )
Checks if given argument is a function, throws {Legato.Lang.IllegalArgumentException} otherwise.
ensureFunction : function( value, message )
Checks if given value implements a function with the given name, throws {Legato.Lang.IllegalArgumentException} otherwise.
ensureImplements : function( value, functionName, message )
Checks if given value is an instance of the given function, throws {Legato.Lang.IllegalArgumentException} otherwise.
ensureInstanceOf : function( value, f, message )
Checks if given argument is a non-empty string, throws {Legato.Lang.IllegalArgumentException} otherwise.
ensureNotEmptyString : function( value, message )
Checks if given argument is number, throws {Legato.Lang.IllegalArgumentException} otherwise.
ensureNumber : function( value, message )
Checks if given argument is an object (not null, not undefined), throws {Legato.Lang.IllegalArgumentException} otherwise.
ensureObject : function( value, message )
Checks if given argument is string, throws {Legato.Lang.IllegalArgumentException} otherwise.
ensureString : function( value, message )
Checks if given argument is the boolean value “true”., throws {Legato.Lang.IllegalArgumentException} otherwise.
ensureTrue : function( value, message )
Checks if given value exists (is neither null nor undefined).
exists : function( value )
Creates a field reference relative to the target bean.
Field : function( field )
Filters given array based on given evaluate method.
Legato.Lang.CollectionUtils.filter = function( array, evaluate )
Filters given object based on given evaluate method.
Legato.Lang.CollectionUtils.filterObject = function( object, evaluate )