Skip to content

Instantly share code, notes, and snippets.

View xanahopper's full-sized avatar

Xana Hopper xanahopper

View GitHub Profile
function (self, unitId, unitFrame, envTable)
--after editing this script, save it and /reload
Plater.TargetIndicators ["KuiArrow"] = {
path = [[Interface\Addons\Kui_Nameplates_Core\media\target-arrow]],
coords = {
{0, 1, 0, 1},
{1, 0, 0, 1}
},
extension on Map? {
bool get isNullOrEmpty => this?.isEmpty ?? true;
bool get isNotNullOrEmpty => !isNullOrEmpty;
}
void main() {
Map<String, dynamic>? info;
print(info.isNullOrEmpty);
print(info.isNotNullOrEmpty);