Skip to content
This repository was archived by the owner on Nov 10, 2018. It is now read-only.
This repository was archived by the owner on Nov 10, 2018. It is now read-only.

Strings "true" and "false" converted to booleans in plugin settings #527

@matthewdean

Description

@matthewdean

Run this code with the command bar:

local value = "true"
print(type(value))
--> string

local plugin = PluginManager():CreatePlugin()
plugin:SetSetting("key", value)
value = plugin:GetSetting("key")
print(type(value))
--> boolean

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions