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