• Convert the input string to a boolean. Everything except for '0', 'false' and '' returns true.

    Parameters

    • input: string
    • Optional strict: boolean

      in strict mode, only '1' and 'true' return true.

    Returns boolean

Generated using TypeDoc