export const isBoolean = (type: string): boolean => { return ["radio","checkbox"].indexOf(type) >-1; };