7 lines
134 B
Plaintext
7 lines
134 B
Plaintext
/**
|
|
* Tests a provided value against a ValueType
|
|
*/
|
|
const testValueType = (v) => (type) => type.test(v);
|
|
|
|
export { testValueType };
|