add fromString for bool types

This commit is contained in:
2024-10-07 12:50:44 -05:00
parent 5eade927fa
commit e79771b137
+2 -3
View File
@@ -73,14 +73,13 @@ const oscTypeConverterMap: { [key in OSCType]: OSCTypeConverter } = {
toBuffer: () => {
return Buffer.alloc(0)
},
fromString: (string: string) => true
fromString: (string: string) => true,
},
F: {
toBuffer: () => {
return Buffer.alloc(0)
},
fromString: (string: string) => false
}
fromString: (string: string) => false,
};
function argsToBuffer(args: OSCArg[]) {