mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
remove boolean helpers class
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
export class BooleanHelpers {
|
export const BooleanHelpers = {
|
||||||
public static parseBool(value: string, defaultValue: boolean): boolean {
|
parseBool: function(value: string | undefined, defaultValue: boolean) {
|
||||||
if (value === undefined) {
|
if (value === undefined) {
|
||||||
return defaultValue;
|
return defaultValue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user