Sha256: ac2de9f2b15ff64d33fcc4e0f3d7987ea2e2c9e4b74262a735b29d53819ff62c
Contents?: true
Size: 262 Bytes
Versions: 19
Compression:
Stored size: 262 Bytes
Contents
$.ematch = (val, expr) -> if typeof expr is 'boolean' expr else if expr?.constructor.name is 'RegExp' expr.test(val) else if $.isArray(expr) $.inArray(val, expr) > -1 else if typeof expr is 'function' expr.call(val, val) else false
Version data entries
19 entries across 19 versions & 1 rubygems