Return the direction of an arrow - right, left, or both.
right
left
both
import { arrow_direction } from 'jssm';arrow_direction('->'); // 'right'arrow_direction('<~=>'); // 'both' Copy
import { arrow_direction } from 'jssm';arrow_direction('->'); // 'right'arrow_direction('<~=>'); // 'both'
The arrow to be evaluated
Return the direction of an arrow -
right,left, orboth.