Owl.Util.Flag.IsEnabled(name: string, player: Player): boolean

Server Only

Evaluates whether a target player has access to a feature flag according to blacklists, whitelists, global toggle and deterministic hashing.

Parameters

name*
string
Identifier name of the flag.
player*
Player
Player instance to evaluate against.

Returns

booleanTrue if the flag is enabled for the player, false otherwise.
game:GetService("Players").PlayerAdded:Connect(function(player)
    if Owl.Util.Flag.IsEnabled("BetaInventory", player) then
        print(player.Name .. " has access to Beta Inventory!")
    else
        print(player.Name .. " is using standard inventory.")
    end
end)