mirror of
https://bitbucket.org/siakitem/my-pi.git
synced 2026-08-28 08:35:57 +00:00
chore: initialize my-pi extension bundle
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
export function toOnOff(value: boolean, truthyLabel = "on", falsyLabel = "off"): string {
|
||||
return value ? truthyLabel : falsyLabel;
|
||||
}
|
||||
Reference in New Issue
Block a user