Global

Members

(constant) isArray

Source:
is Array or not

(constant) isFunction

Source:
is Function or not

Methods

fromNow(endTime) → {string}

Source:
Parameters:
Name Type Description
endTime date
Returns:
Type
string

pluckMap(map, key, valueKey) → {*}

Source:
Parameters:
Name Type Description
map map
key string
valueKey string
Returns:
Type
*

setTick(callback, duration, firstopt) → {string}

Source:
Parameters:
Name Type Attributes Default Description
callback function
duration number
first boolean <optional>
true
Returns:
id
Type
string

toMap(collection, key) → {map}

Source:
turn a array to map
Parameters:
Name Type Description
collection array
key string
Returns:
Type
map