My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
reverse  
Overview of reverse
Updated May 14, 2010 by matr...@mac.com

reverse

Reverses an object.

Usage

objx(object).reverse( [behaviour] );

object The object to reverse
behaviour See actions

Different types

Depending on the type of object being reversed, the plugin will do slightly different things:

Type Behaviour
number Returns the negative (or positive) version of that number. Same as x * -1
boolean Returns the opposite booelan value (i.e. objx(true).reverse() will return false)
string or array Reverses the items (or characters) in the collection


Sign in to add a comment
Powered by Google Project Hosting