Module: util/expect

util/expect

Methods

<static> isEqual(value, expected) → {boolean}

Parameters:
Name Type Description
value mixed
expected mixed
Source:
Returns:
Type
boolean

<static> isGreaterOrEqualThan(value, than) → {boolean}

Parameters:
Name Type Description
value mixed
than mixed
Source:
Returns:
Type
boolean

<static> isGreaterThan(value, than) → {boolean}

Parameters:
Name Type Description
value mixed
than mixed
Source:
Returns:
Type
boolean

<static> isInArray(values, stack) → {boolean}

Parameters:
Name Type Description
values array
stack array
Source:
Returns:
Type
boolean

<static> isLowerOrEqualThan(value, than) → {boolean}

Parameters:
Name Type Description
value mixed
than mixed
Source:
Returns:
Type
boolean

<static> isLowerThan(value, than) → {boolean}

Parameters:
Name Type Description
value mixed
than mixed
Source:
Returns:
Type
boolean

<static> isRegExpFalsely(value, value) → {boolean}

Parameters:
Name Type Description
value string
value RegExp
Source:
Returns:
Type
boolean

<static> isRegExpTruly(value, value) → {boolean}

Parameters:
Name Type Description
value string
value RegExp
Source:
Returns:
Type
boolean

<static> isStrictEqual(value, expected) → {boolean}

Parameters:
Name Type Description
value mixed
expected mixed
Source:
Returns:
Type
boolean