export function toBoolean(type: any) { return type === 'true' }