import { IHtmlEngineHelper , IHandlebarsOptions } from './html-engine-helper.interface' ; export class IfStringHelper implements IHtmlEngineHelper { public helperFunc ( context , a , options ) { if ( typeof a === 'string' ) { return options . fn ( context ) ; } return options . inverse ( context ) ; } }