import { Scope } from "./abstractions" import { GenericTransformOpScoped } from "./transform" export function applyScope(scope: Scope): GenericTransformOpScoped { return scope } /** @hidden */ export function applyScopeMaybe(seed: any, scope: Scope | undefined): any { if (scope !== undefined) { return applyScope(scope)(seed) } return seed }