error: string|Error = 'input is not an optional symbol'
Returns assertsinputissymbol|undefined
Example
assertIsOptionalSymbol(Symbol('id')); // does not throw assertIsOptionalSymbol(undefined); // does not throw assertIsOptionalSymbol('id'); // throws TypeError: input is not an optional symbol
Assert that
inputis a symbol orundefined.