Function
Static Public Summary | ||
public |
difference(obj1: Object, obj2: Object): Object Diff of Object |
|
public |
getPatternType(pattern: string): string Return pattern type ( |
|
public |
isCronPattern(pattern: string): boolean is Cron pattern |
Static Public
public difference(obj1: Object, obj2: Object): Object source
import {difference} from '@moqada/hubot-schedule-helper/src/utils.js'
Diff of Object
public getPatternType(pattern: string): string source
import {getPatternType} from '@moqada/hubot-schedule-helper/src/utils.js'
Return pattern type (cron
or date
)
Params:
Name | Type | Attribute | Description |
pattern | string | pattern string |