1.0.1 • Published 9 years ago
flip-orientation v1.0.1
flip-orientation
Flips the orientation of a cell.
Example
var flip = require('flip-orientation')
console.log(flip([0, 1, 2]))
Install
npm i flip-orientation
API
require('flip-orientation')(cell)
Flips the orientation of a cell
cell
is a list of integers
Returns cell
, after flipping the orientation of cell
Note This is a destructive operation
License
(c) 2015 Mikola Lysenko. MIT License