Skip to content

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()? ​

optional test(value): boolean

Defined in: packages/core/src/interpolators/types.ts:7

Tests whether this factory can interpolate the given value.

Parameters ​

ParameterType
valueunknown

Returns ​

boolean