Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- need helpers for SUGAR LIBRARY TO EXTEND need helpers for SUGAR LIBRARY TO EXTEND
- --- ---
- unique from arr uniq unique unique from arr uniq unique
- unique from arr and arr2 (in arr but not in arr2, in arr2, but not in arr) uniq missingfromboth unique from arr and arr2 (in arr but not in arr2, in arr2, but not in arr) uniq missingfromboth
- unique in arr that is not in arr2 notin prototype missing unique in arr that is not in arr2 notin prototype missing
- same from arr same same from arr same
- same in arr and arr2 same samein same in arr and arr2 same samein
- remove in arr that are in arr2 remove prototype remove in arr that are in arr2 remove prototype
- remove in arr that are not in arr2 remove prototype remove in arr that are not in arr2 remove prototype
- filter in arr that are in arr2 ? Same filter in arr that are in arr2 ? Same
- filter in arr that are not in arr2 ?same filter in arr that are not in arr2 ?same
- add to arr items that are in arr2 but not in arr addUnique prototype add to arr items that are in arr2 but not in arr addUnique prototype
- arr contains arr2[i] isin prototype contains arr contains arr2[i] isin prototype contains
- math.max.apply max prototype math.max.apply max
- math.min.apply min prototype math.min.apply min
- regex | match | test regex regex | match | test regex
- math.abs abs math.abs abs
- toString string str toString string str
- parseInt num parseInt num
- is empty isempty empty is empty isempty empty
- null | undefined | '' | 0 | [] | {} exists take FROM RAMDA null | undefined | '' | 0 | [] | {} exists take FROM RAMDA
- swap swap swap swap
- indexof | position pos position idxof inarr indexof | position pos position idxof inarr
- match by common key object
- obj obj
- --- ---
- entries keys entries keys
- values vals value val values vals value val
- has value hasval has value hasval
- key exists keyexist haskey key exists keyexist haskey
- assign if key not exist key assign if key not exist key
- pick pick pick pick
- omit omit omit omit
- match/merge by common key object
- merge merge combine
- fs fs
- -- --
- readdir getfiles readdir getfiles
- chdir cd chdir cd
- rename rename ren rename rename
- copy cp copy cp
- move mv move mv
- executecmdon(file,fn) exec executecmdon(file,fn) exec
- recycle bin del recycle bin del
- getdirs getdirs getdirs
- need snippets for need snippets for
- --- ---
- arrays arrays
- -- --
- filter fil filter filter fil filter
- reduce red reduce reduce red reduce
- map map map map
- length as l l length as l l
- indexof iof indexof iof
- splice as sp or spl spl sp splice as sp or spl spl sp
- push push push push
- join join join join
- concat concat con conc concat concat con conc
- every every all every every all
- some some som some some som
- includes includes inc includes includes inc
- sort sort sort sort
- strings strings
- -- --
- split split split split
- replace replace rep replace replace rep
- regex regex regex regex
- match match match match
- test test test test
- dir.getfiles.split('\.')[0].split('_')[0].unique.as('storis').then(getsku.prepend("#")).merge('storis')
- dir ret string
- getfiles static method ret arr
- split function ret [arr]
- unique static method
- as function ret global key,pair var
- then promise
- getsku static method
- prepend function ret
- merge function ret key,pair global var + input
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement