The spv.assert Namespace

.isBoolean(b)

Used for detection of some type errors when calling in from dynamically typed javascript.

b {boolean}

.isFunction(f)

Used for detection of some type errors when calling in from dynamically typed javascript.

f {Function}

.isNumber(n)

Used for detection of some type errors when calling in from dynamically typed javascript.

n {number}

.isString(s, name, allow_empty)

Used for detection of some type errors when calling in from dynamically typed javascript.

s {string}
name {string}
allow_empty {boolean}