(name: string, compileFn: CompileFn<'functional'>, options?: UtilityOptions)
| 110 | } |
| 111 | |
| 112 | functional(name: string, compileFn: CompileFn<'functional'>, options?: UtilityOptions) { |
| 113 | this.utilities.get(name).push({ kind: 'functional', compileFn, options }) |
| 114 | } |
| 115 | |
| 116 | has(name: string, kind: 'static' | 'functional') { |
| 117 | return this.utilities.has(name) && this.utilities.get(name).some((fn) => fn.kind === kind) |
no test coverage detected