maybe
¶
bootlace.util.
maybe
(
cls
:
type
[
T
]
)
→
Callable
[
[
str
|
T
]
,
T
]
[source]
¶
Convert a string to a class instance if necessary.
Bootlace
Navigation
Contents:
Getting Started
API Reference
Breadcrumbs
Forms
Bootstrap Icons
Images
Links
Navigation
Layout, sizing and colors
Tables
Tools and Utilities
Related Topics
Documentation overview
API Reference
Tools and Utilities
Previous:
is_active_endpoint
Next:
render