mirror of
https://github.com/jwetzell/osc-js.git
synced 2026-08-12 02:33:40 +00:00
add fromString for bool types
This commit is contained in:
+2
-3
@@ -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[]) {
|
||||
|
||||
Reference in New Issue
Block a user