howl.Globals

callable <foo> returns true if foo can be invoked as a function

assert.is_true callable -> true
t = setmetatable {}, __call: -> true
assert.is_true callable t

typeof(v) is like type(), but handles regexes and moonscript classes

assert.equal 'regex', typeof r'foo'

class Bar
assert.equal 'Bar', typeof Bar!

r is a short alias for regex

assert.equal r, require 'howl.regex'