Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 331 Bytes

Readme.md

File metadata and controls

20 lines (12 loc) · 331 Bytes

sg-sanitize-arguments

Sanitizes function arguments by specified types. Also allows for optional arguments.

Installation

$ component install davidtsuji/sg-sanitize-arguments

API

sgSanitizeArguments(arguments, {myOptions:myOptionsType,myObject:Object,myFunction:Function})

License

MIT