Documentation / @ripl/core / PredicatedFunction
Type Alias: PredicatedFunction ​
PredicatedFunction =
object
Defined in: packages/core/src/interpolators/types.ts:5
A callable with a test method used to determine whether the factory can handle a given value.
Extended by ​
Methods ​
test()? ​
optionaltest(value):boolean
Defined in: packages/core/src/interpolators/types.ts:7
Tests whether this factory can interpolate the given value.
Parameters ​
| Parameter | Type |
|---|---|
value | unknown |
Returns ​
boolean