UNPKG

shell-ahk

Version:

`Lodash`/`jQuery` for `AHK`.

12 lines (8 loc) 255 B
# @ts-check import $getType from './getType' import $isArray from './isArray' ###* @type import('../type/module').Pop ### export default (list) -> unless $isArray list throw "$.pop: invalid type '#{$getType list}'" return list.Pop()