1.0.1 • Published 10 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-orientationAPI
require('flip-orientation')(cell)
Flips the orientation of a cell
- cellis 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