π A util for Actions.
const { checkPermission } = require('actions-util');
// or
import { checkPermission } from 'actions-util';
checkPermission(require, permission);
- checkPermission
1.0.0
- dealStringToArr
1.0.0
- THANKS
1.1.0
checkPermission(require, permission);
Params | Desc | Type | Required | Default |
---|---|---|---|---|
require | Required permissions | string | β | - |
permission | Detector's permission | string | β | - |
boolean
dealStringToArr(para);
Params | Desc | Type | Required | Default |
---|---|---|---|---|
para | Action yml input like x1, x2, x3 |
string | β | - |
['x1', 'x2', 'x3']