Function: getUrlParamBool()
getUrlParamBool(
name
,defaultBool
):boolean
Defined in: src/utils/utils.ts:46
Retrieves a boolean URL parameter. Returns true for 'true' or '1', false for 'false' or '0'. If the parameter is not found, returns the specified default boolean value.
Parameters
name
string
The name of the URL parameter.
defaultBool
boolean
= false
The default boolean value if the parameter is not present.
Returns
boolean
The boolean value of the URL parameter.