Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/ui / src / forms / deps / isValidSelect.ts
Size: Mime:
import { isSafe } from 'exotic'

/**
 * @todo missing story for this
 */
function isValidSelect(args: { value: any; label: string }) {
  const { value, label } = args

  if (!isSafe(value) || value === label) {
    return false
  } else {
    return true
  }
}

export { isValidSelect }