Function toBoolean

  • Convert value to boolean

    Parameters

    • value: any

    Returns boolean