Extends
Methods
is(value, consequent) → {Fuse}
Accepts a value instead of a test function, and checks for strict
equality with this.value.
Parameters:
Name | Type | Description |
---|---|---|
value |
any | Any value to check against this.value |
consequent |
function | Consequent callback function |
Returns:
An instance of Fuse
- Type
- Fuse
not(value, consequent) → {Fuse}
Accepts a value instead of a test function, and checks for strict
inequality with this.value.
Parameters:
Name | Type | Description |
---|---|---|
value |
any | Any value to check against this.value |
consequent |
function | Consequent callback function |
Returns:
An instance of Fuse
- Type
- Fuse
on(predicate, consequent) → {Fuse}
Accepts a test and consequent function each and returns a new
Fuse or FuseIterable instance.
Parameters:
Name | Type | Description |
---|---|---|
predicate |
callback | A test callback function |
consequent |
callback | Consequent callback function |
Returns:
Returns a new Fuse instance
- Type
- Fuse
resolve() → {null}
Fallback resolve prototype. Returns null when called.
Used in case a resolve is never found.
- Inherited From:
- Source:
Returns:
null
- Type
- null