6 lines
123 B
Plaintext
6 lines
123 B
Plaintext
function isGenerator(type) {
|
|
return typeof type === "function" && "applyToOptions" in type;
|
|
}
|
|
|
|
export { isGenerator };
|