Obtain a theme's Bootstrap version

theme_version(theme)

Arguments

theme

a bs_theme() object.

Value

the major version of Bootstrap used in the theme.